Telerik Forums
Test Studio Forum
1 answer
101 views
Hi Team,

Using the code I can get a content presenter. I would like to change the text(textbox/checkbox)of all controls accordingly.Here all these controls are adding dynamically so i am not able to locate into DOM Explorer.

Please find attached document for hieraxhy in DOM your reference.

Appreciate your help, It’s really a show stopper for us to go ahead, Please help us to overcome this issue.

Thanks in advance


-Sreeee

Cody
Telerik team
 answered on 11 Dec 2011
2 answers
138 views
Is it possible to automatically fill a text box with random numbers in QA edition? I have a text box which I want to be filled in automatically with numbers ranging between 9990000 to 9999999. I don't want to use a data source as it will put the execution in a loop.

Any suggestions are welcome...
Vaibhav
Top achievements
Rank 1
 answered on 07 Dec 2011
8 answers
419 views
Hi,

I have this step that I want to upload a file. I want to make the location of the file dynamic/parameterized so that when my team gets the latest solution in TFS they no longer need to change the file location.

I've use the code:

 

string File = Environment.CurrentDirectory + @"\Datasource\SampleFile.docx";
SetExtractedValue("File", File);
Log.WriteLine(Data["File"].ToString());

 


And the current directory it points to is "C:\Program Files\Telerik\Test Studio 2011.2\Bin" not the location of the TestStudio Directory.

Using the VSTS CodedUI it works properly since I can add the Solution directory to the Deployment Settings of the Project.
Cody
Telerik team
 answered on 07 Dec 2011
5 answers
241 views
Hello,
I am having problems with tests that are scheduled not executing.  The tests run fine when executed from test studio however when I schedule them they do not run.  Originally the scheduling server log was giving me an error saying the execution server was busy even though this was not the case.  After the standard restart services/reboot etc.. with no luck we installed the latest version of Test Studio.  Scheduled tests are still not running with a mixture of messages in the scheduling server log some continuing to say the machine is busy executing other tests and others saying that the project was deployed to a folder and I believe building but nothing further.  Any help or suggestions are appreciated I love this product until this problem came up.

Thanks
Plamen
Telerik team
 answered on 07 Dec 2011
5 answers
264 views
Hi,

I have upgraded Test Studio from 928 to 1117. I have a test scenario with a pop-up window, it worked fine with previous versions but now it can open pop-up window, click on a button there but while trying to close it it gives an error:

InnerException:
System.ArgumentException: Cannot find Browser host with Url: '/payment/PostFinancePayConf.ashx?'.
Attempted to close Browser: 'https://dev-en.office.comparis.intra/payment/YellowPayEmuNew.aspx
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.HtmlDialogHandlerDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

I tried it with Firefox, IE, Chrome and Safari and got the same error.
It worked fine before the upgrade.

Thanks

Ercan
Doga Ercan
Top achievements
Rank 1
 answered on 07 Dec 2011
1 answer
101 views
I want to select the last row of a table. The table is populated according to options given by the user and based on the data in the database (which keeps changing as there are updations and deletions going on every now and then). So, the number of rows will differ every time my test case is executed. How do I set up my test case so that every time the test is executed the last row in the table is selected.
I have attached a screenshot of what the table looks like. So, in this table I would want to select the row wherein the SRV# is 1312184 as that is the last row.. But next time when somebody runs the test case, this row might not be the last row and the size of the table might also change. For example, this table has 4 rows but next time the test case is run the table may have 10 rows or just 2 rows. I hope you catch my drift...
Also, I tried to extract the values of the SRV# from previous steps (as the SRV # are unique) and use them to select the row. But if you see the picture every SRV# has a dotted line which means they are linked to another page. Now, I don't want to click exactly on the number as I don't want to open that link. If one clicks anywhere in the row that row gets selected and that is what I want to do.

Any suggestions...    
Plamen
Telerik team
 answered on 07 Dec 2011
3 answers
68 views
Hello,

In our project, we are handling our automated tests by using Visual Studio plug-in.
We created Telerik tests project as a part of our project solution and we are running automated Test Studio tests as a part of our nightly builds.

In the nightly builds, all the tests which are in the test project are all running, but we want to run only the tests which we choose.
There is a test list editor in VS. I select the tests that I want to run with the build, but it still runs all the tests.

Can you please help me?

Thanks,

Esra



Plamen
Telerik team
 answered on 06 Dec 2011
2 answers
96 views
Hi.
I create a Test List with several tests, but I have a problem the browser close between the test.
What can I do to ensure that the browser keep running?
Natasha
Top achievements
Rank 1
 answered on 06 Dec 2011
5 answers
149 views
Hi,

We have an application based on Telerik components and ESRI map functionalities.

And while we recorded functional test with Telerik Test Studio  if we want to enter coordinate field (latitude and longitude) by selection it from the map , Telerik Test Studio records coordinate. But after if we want to replay this recorded test ,Telerik Test Studio selects the coordinate which is different than recorded one. 

We want to learn that do you support the map interaction activities or not?

Thanks.
Stoich
Telerik team
 answered on 06 Dec 2011
1 answer
110 views
Hi,

I am using Visual Studio plugin of Telerik test studio (Mbunit cases) to automate my web application. On my site there is a link which takes around 120 seconds to navigate to next page.
The issue I am facing is that the during playback the link gets clicked but the following execption is generated before navigation to next page where i want to verify assertions.

System.TimeoutExceptionWait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, target, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Core.Browser.WaitUntilReady()
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Actions.Click(Element targetElement)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Click()


How can i handle this, i have even increaed the WaitOnElement timeout to 180000, but thats of no use.
Stoich
Telerik team
 answered on 05 Dec 2011
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?