Telerik Forums
Test Studio Forum
2 answers
69 views

I've wasted like 3 hours on this today and I can't figure it out....

https://www.screencast.com/t/fn11cTUl

This step of the test is to basically wait to see if the angular ajax call pulls in the users, if it does, count to make sure... but it's always 0

Doesn't matter if the Timeout is set to 10s, 20s... it always fails at this step.

Thoughts?  Please help

Steve

Elena
Telerik team
 answered on 17 Jul 2018
3 answers
381 views
Hi Telerik team,

When I want to deal with one srting, just like split it or get the length of it, I use the function like 'Mid', 'Split' and 'Len'. But these cannot work.
Following is the error message that displays in the Log:
(BC30451) 'Mid' is not declared. It may be inaccessible due to its protection level.

So, how to deal with this issue?
Elena
Telerik team
 answered on 17 Jul 2018
3 answers
112 views

I have a search box where I type some text in, hit enter and it redirects me.

The recorder though only records the text not the ENTER... what should I be doing?

Vera
Telerik team
 answered on 17 Jul 2018
1 answer
120 views

Hi,

I´m executing tests on subscribe section on a website. It requires fields such as email and ID. As this test requires to be executed many times, it isn´t possible to create new profiles every test. So, I wanna run a procedure after the subscribe test that excludes the last subscription created. How can I bind the real dev database to the test and create a procedure to delete this last created profile?

 

Thank you,

Gabriel

Elena
Telerik team
 answered on 17 Jul 2018
9 answers
173 views

Hi , 

I am unable to record test cases. I did go through the steps mentioned , but most folders are not same. Can you please help me with steps to record,  create test cases and run the test cases.

 

Below error was displayed when clicked on setting and choosing android sdk location

 

1. Aapt.exe doesn't exist in the specified location: C:\Users\noorain.adeeb\AppData\Local\Android\Sdk\build-tools\\aapt.exe

 

Thanks,

Noorain Adeeb



Shtilianov
Telerik team
 answered on 12 Jul 2018
3 answers
262 views

Hi All,

We have few desktop applications, which has developed using .NET technologies and Java as well. I tried recording script using Test Studio and it was rejected as the application is not WPF app.

Is there any way to automate these non-WPF based applications?

 

Thanks,

Palani

Elena
Telerik team
 answered on 04 Jul 2018
9 answers
379 views

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."

 

 

 

Elena
Telerik team
 answered on 29 Jun 2018
7 answers
283 views

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

using ArtOfTest.WebAii.Win32.Dialogs;
<br>Manager.Settings.UnexpectedDialogAction = UnexpectedDialogAction.DoNotHandle;<br>ConfirmDialog cd = ConfirmDialog.CreateConfirmDialog(ActiveBrowser, DialogButton.OK);<br>Manager.DialogMonitor.AddDialog(cd);<br>Manager.DialogMonitor.Start();<br>cd.Window.Close();
Elena
Telerik team
 answered on 29 Jun 2018
5 answers
351 views

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

Vera
Telerik team
 answered on 26 Jun 2018
6 answers
126 views

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

Elena
Telerik team
 answered on 25 Jun 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?