Telerik Forums
Test Studio Forum
3 answers
103 views
Hi,

I have a project with GUI tests, I try to open the project but i found this error message :"Cannot find code-behind of guiTest.tstest", but the file is there. Why can open but all code-behind in C# isn't charge for the Test Studio StandAlone? what i can do?


Thanks,

José Teles
Boyan Boev
Telerik team
 answered on 19 Jun 2013
1 answer
102 views
Hi everyone,

I have one question, I can do performance tests and get the memory used in a GUI Test in Test Studio( stand-alone and Visual Studio Plugin)???


Bests,

José Teles
Velin Koychev
Telerik team
 answered on 19 Jun 2013
4 answers
120 views

Hello,

I have written the script below to click the link but the issue is that it is devexpress link. So everytime I run the script it gives error "Object reference not set to instance of object".

HtmlTableRow containerRow=

 

null;

foreach

 

 

(HtmlTableRow r in Pages.EndpointPULSE.FrameContentiframe.Messagegrid.AllRows)

{

 

foreach(HtmlTableCell c in r.Cells)

{

Log.WriteLine(

 

"Cell found. TextContent:"+c.InnerText);

       

 

if (c.TextContent.Equals("New Message"))

{

containerRow = c.Parent<HtmlTableRow>();

}

}

}

HtmlTableCell editbutton = containerRow.Cells[

 

1];

editbutton.ScrollToVisible();

editbutton.MouseClick();

Regards,
Glen

Plamen
Telerik team
 answered on 19 Jun 2013
1 answer
87 views
Hi Telerik Team,

I have a method that generates a random number that is used to populate a textbox. This code works fine within a test but I would like to move it into a separate library where all my tests within the project can access & use it (the broader goal being to put multiple methods in one place).

So right now I have WebTest1 which has a coded step to call this function (getNumber) however it is failing with this error:

c:\QA_Test_Automation\Test Suite\Work In Progress\WebTest1.tstest.cs: Line 82: (CS0120) An object reference is required for the non-static field, method, or property 'Test_Suite.Utility.getNumber()'

Here is how I am calling the method from within WebTest1.tstest:

[CodedStep(@"Enter text '' in 'TxtSearchText'")]
        public void WebTest1_CodedStep()
        {
            int randomNum = Utility.getNumber();
             
            Actions.SetText(Pages.COBRApointTPAPortalHome.TxtSearchText, randomNum.ToString());
          }

And here is how I have the method setup within the UtilityTest1.tstest:

public class Utility {
         
        public void getNumber(){
             
         System.Random random = new System.Random();
            int randomNum = random.Next(100000000,999999999);
        }
    }

Both files exist within the same project. Any clue on what I am doing wrong? I was also following this link:

http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/general/utility-in-standalone.aspx

My version of Test Studio is 2012.2.1527.0

Thank you for any help.
Cody
Telerik team
 answered on 18 Jun 2013
7 answers
274 views
Greetings!

I'm running a data driven test with 500 rows and 220 Columns that has roughly 600 steps. It fails in the middle of the 49th iteration. I'm seeking tips reduce the number of batches I need to run the test.

Unfortunately, the log didn't pick anything up other than "Out of Memory"

Structure:
1 Master test with Data Binding
1 Subtest to login run each iteration - opted for this so that the browser could be terminated between iterations
1 Subtest to click "Save" that runs a single step - the save button is the same across all pages

Cody
Telerik team
 answered on 18 Jun 2013
1 answer
88 views
Hi,
        I am working on automating a web application but have been encountering issues with it. There is not a detailed way for me to explain the complete problem but i can show it to you if need be.

The web application has several links that have to be clicked and when clicked, fields are displayed in which data can be entered. I recorded the steps to click on that link and enter that data but during the execution, clicking on the link action is performed but i do not see the fields displayed. It looks like Test Studio is populating all the fields in the back ground but finally it fails. I tried to put in delays, simulate real click, wait for's, etc but i still have that problem.

I would appreciate it if you can schedule a session for me to show you the issue.

Thank you,
Nithin
Rodney
Telerik team
 answered on 18 Jun 2013
5 answers
110 views
Hi all,

Scenario 1:
In web page i have 10 check boxes, irrespective of their names i want to select 4th checkbox
(in QTP we can do using index method,  webcheckbox("index:=3").checked = True)

Scenario 2:
wanted to check all the checkboxes in the page (irrespective of their names and count)

Any help plz

Thanks in advance

Thanks,
Chandra
Boyan Boev
Telerik team
 answered on 18 Jun 2013
6 answers
50 views
Hi,

im running the trial version of test studio, im currently trying it on our silverlight application, i am trying to add 100 users in but if it fails a step it seems to crash the browser and never recover causing the remaining tests to all fail.

the way the test is run is by clicking the search box at the top of the page then enter a name etc, this bar is always visible throughout the test, but when the test fails it doesnt seem to be able to locate this box at the start of the next test,

currently i have the test setup up in two stages, login > add users (data source 100) so it should only log in once then run through the data source.

is there a way i can put it a force browser close on fail? or on fail open new browser? then restart the test from a certain point e.g. login

basically i need to know if i can close and reopen a browser if it has failed or browser is not responding

thanks in advance
Velin Koychev
Telerik team
 answered on 18 Jun 2013
1 answer
63 views
Hi

i would like to know where will the results get saved for Manual Testing?
and once i save the result and when next time if i have to retrieve the results and check , how will i do that?


Thank You
Velin Koychev
Telerik team
 answered on 18 Jun 2013
1 answer
218 views


This setting "Keep test execution engine running between test runs" checkbox." is set from Visual Studio Tools--> Options-->Test Tools-->Test Execution.

I want to know if there is there a similar setting that we can do from Test Agent or Test Controller?

Thanks
Radhika
Rodney
Telerik team
 answered on 17 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?