Hi, Please see the code below...
HtmlTable T2 = ActiveBrowser.Find.ByXPath<HtmlTable>("//*[@id='SystemClientsGrid']/div[2]/table");
HtmlTableCell C2 = T2.Find.ByContent<HtmlTableCell>("l:ZZ");
Log.WriteLine(C2.TextContent);
string str1 = this.GetExtractedValue(C2.TextContent).ToString();
My Code is working fine till second last line as i can verify it in log. Last line not working.
It is throwing below mentioned error:
"The extracted variable 'ZZ' does not exist in the store. Make sure there is an extract step that has executed before executing this step."

Team,
I am unable to Click on "OK" on a Confirmation Dialog. This step is very important in my script. Please guide me.
I have seen Documentation regarding this and tried in many ways. But still no go. Attached the Snapshot
Here is the code

Hello,
I am using Test Studio to test our webpage. Here's the scenario:
1) The user navigates to an URL
2) Logins and by entering their credentials
3) Selects a menu item from the drop-down menu when the user hovers over a menu item on the top bar menu.
4) A new tab opens up with the specified page in the same browser.
Knowing what I read, you want to avoid testing tabs, so open the specified page in a new window? Ok, that's fine but how do I get Test Studio to run the scripts in the new browser page? Should I proceed with or just create tests using tabs?
If that one was easy, how do I check the existence of a specified text in a drop-down menu? I tried using the recorder and the highlighter but I couldn't get it to work; the drop-down menu would disappear when using the highlighter.
Thank you
Peter
Hi,
we are facing a problem with the jUnit export of the ArtOfTest.Runner, it happens very often that the exported jUnit file is in the wrong format.
Sometimes it looks something like this:
<testsuites xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<testsuite name="XXX" timestamp="2018-06-19T09:14:10Z" hostname="XYZ" tests="8" failures="0" errors="0" time="631.2858114">
<testcase name="Test1" time="0.4940152" />
...(all of the tests)
</testsuite>
</testsuites></testsuites>>
Or like this:
<testsuites xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<testsuite name="XXX" timestamp="2018-06-18T19:09:09Z" hostname="XYZ" tests="8" failures="1" errors="0" time="679.4595394">
<testcase name="Test1" time="5.6998895" />
<testcase name="TestN" time="211.6068644">
<failure>
...The correct failure message...
</failure>
</testcase>
</testsuite>
</testsuites>
</testsuites>
Thanks for checking the problem,
Greg

Hi,
we are facing a problem with the ArtOfTest.Runner, after completing the tests the program never quits. The longest duration of the test we ran was two days, which we had to cancel. The error occurs very often. We are using the ArtOfTest.Runner from VSTS, but the failures also occure on the machine itself as seen in the console. The machine with the Test Studio is a VM in Azure that connects on startup via VPN to the right webserver.
The call is "C:\Program Files (x86)\Progress\Test Studio\Bin\ArtOfTest.Runner.exe" list="C:\Users\XXX\Documents\XXX.TelerikTestStudio\TestLists\XYZ.aiilist" persistOnEachStep=true junit settings="C:\Users\XXX\Documents\XXX.TelerikTestStudio\Environment\test.config" also with staging.config which is basically same, but has another URL.
Nothing shows up in the logs.
Note: We are also facing a problem with the jUnit parameter xyz.junit.xml not beeing in right format. I opened another thread for this.
Thanks for helping in advance,
Greg

HtmlFindExpression expression = new HtmlFindExpression("tagindex=td:3");
IList<Element> foundelements = tablecontrol.Find.AllByExpression(expression);
Does test studio have some feature to achieve this: use test case like a function, create step with custom input parameter.
I know data source can somewhat do this, but it is not flexible.
Suppose we want create a scenario, User A login the system, publish a product, User B login to buy the product, User A login the process the order. A and B can vary from time to time.
Can we easily achieve this by assembling steps?


Where Admin and Account are folders, and Login and View project are tests. The first step in the View Project test is the Login test (using Test as Step). When I move View project to another folder (ie. Misc), I am no longer able to run the View project test, which fails on the first step with the following error:
InnerException:
System.IO.FileNotFoundException: Unable to find test 'C:\path\path\path\Admin\Login.tstest'
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTestInCurrentContext(String relativeTestPath)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
Do I need to redo the Test as Step steps every time I move a test between folders? Why doesn't the application know where it's been moved to automatically?
Edit: When I re-add my Test as Step, it still returns the error about not being able to find it. My folder structure is actually 3 deep at the point of the View project test, and this only occurred after I moved it into a more nested folder.
Hi,
I am trying to verify a particular cell value in a table. I went through similar questions asked in the past to get the solution.
My "Build Succeded", but "step failed"
HtmlTable T1 = ActiveBrowser.Find.ByXPath<HtmlTable>("//*[@id='ProgramGrid']/div[2]/table/tbody");
HtmlTableCell C1 = T1.Find.ByXPath<HtmlTableCell>("//*[@id='ProgramGrid']/div[2]/table/tbody/tr[2]/td[5]");
Assert.IsTrue(C1.TextContent.Equals("Irish Dunlap"));
