Telerik Forums
Test Studio Forum
1 answer
175 views

I'm curious if it's possible to have a web test with a step that closes the browser but then is able to continue running the test in the next step.

I've tried using "Manager.ActiveBrowser.Close();" but that closes the browser and then ends the test. The next step that I have reopens the browser and navigates to the desired page but it never seems to go onto the next step once the browser closes. Is there a way to use a similar step that would close or restart the browser without ending the test?

Cody
Telerik team
 answered on 16 May 2015
1 answer
25 views

Hi,

I have downloaded a trial version and i have been trying to get my hands on the test studio. I am having issues capturing recordings due to improper placement of the Grid, text fields etc while highlighting. The Context menu appears very far as the tester cannot reach it and it disappear. The context menu also keeps blinking and is very irritating.

 Please see to the file attached.

 System Specs:

Windows 7
Intel Core 2 Duo
Ram: 4 GB
32 bit operating system
Resolution : 1400 x 1050

Cody
Telerik team
 answered on 16 May 2015
2 answers
77 views
I am attempting to automate our API testing.  I have attempted to use Fiddler, RestClient, and cURL.  So far I have been unsuccessful.  Has anyone else tried to automated API testing with any of these tools or any other tools with success?

Thanks
Timothy
Top achievements
Rank 2
 answered on 15 May 2015
17 answers
492 views
Hi,

I have a functionnal test where a user login to my app and navigate through it. Then i use this WebTest to capture a load test.
In the POST request, I can easily configure login/password with a data bind but how can I use the generated csrf token from the previous page into this POST request?

In my functionnal test, I already extracted the value from the hidden input and hoped I could use it later on in the load test.

Actually I'm not sure i can really do it this way. If it's the case, how can I solve this problem?

(I'm sure it's a common problem, but I couldn't find an answer yet.)
Cody
Telerik team
 answered on 15 May 2015
13 answers
234 views
Hi

I am testing a Wpf application. I would like to configure the application path while running from command prompt. This needs to override the one that give in the tool while recording test steps.
I have tried including the following in the app.config

<configSections>
    <section name="WebAii.Settings" type="ArtOfTest.WebAii.Core.SettingsConfigSectionHandler, ArtOfTest.WebAii" />
    <section name="WebAii.Settings.Web" type="ArtOfTest.WebAii.Core.WebSettingsConfigSectionHandler, ArtOfTest.WebAii" />
<section name="WebAii.Settings.Wpf" type="ArtOfTest.WebAii.Core.Settings.WpfSettings, ArtOfTest.WebAii" />
  </configSections>
 
<WebAii.Settings.Wpf "DefaultWPFApplication":"<path.exe">
    />


I have also tried creating a Settings.xml. But neither work. Can you provide the correct method & syntax? Thanks!
Cody
Telerik team
 answered on 15 May 2015
1 answer
126 views

Hi,

In Load Testing I Edited the json content(Serial number-Primary Key) value in the Captured Traffic POST Element.

After I run with the Edited value, the Database gets affected. The respective data stored in the database(Oracle) Table.

Next i have tried with Data driven (using EXCEL Sheet. I am not getting any error. But there was no affect in Database.Values not stored in the Database Table.

I am not sure whether the Excel Data column value that I was Replaced in the json script correct format.

So tell me how to replace the content value with the Excel column value.

Herewith I have attached you the reference screenshots.

Thanks
Saravanan

Cody
Telerik team
 answered on 15 May 2015
1 answer
58 views

<html>
   <head></head>
   <body>
      <iframe id="casesFrame" width="99%" height="418" frameborder="0" src="../cases/main_init" name="casesFrame" style="">
         <html class=" ext-strict x-viewport">
            <head></head>
            <body id="ext-gen3" class=" ext-gecko ext-gecko3 x-border-layout-ct">
               <ul id="ext-gen37" class="x-tree-root-ct x-tree-arrows">
                  <li class="x-tree-node">
                     <a class="x-tree-node-anchor" tabindex="1" href="" hidefocus="on">
                        <span unselectable="on">New case</span>
                     </a>

                  </li>
               </ul>
            </body>
         </html>
      </iframe>
   </body>
</html>

 

I have the following structure in my page, but I get error while performing an event "Click" link "New Case" this is iframe.
I am using the code following in "Test Studio":

Browser casesFrame = Manager.ActiveBrowser.Frames.ById ("casesFrame");
HtmlAnchor NewCase = casesFrame.Find.ByExpression <HtmlAnchor> ("InnerText = ~ New case", "tagname = a");
Assert.IsNotNull (NewCase);
newCase.Click (); //Does not perform the event â€‹

Cody
Telerik team
 answered on 14 May 2015
5 answers
167 views
Hi,

I was trying out the record and playback functionality. I was recording elements in an iFrame within a modal popup.
The recording went successfully, but during the playback the iFrame gets skipped. When I checked the recordings I saw the iFrame recorded as an element, but the iFrame itself didn't contain any elements visible in the explorer. I tried calling RefreshAllDomTrees(), but it still didn't load the elements within that iFrame.

I'm executing these tests in a Dynamics CRM environment. 
I was hoping someone here could help me out. 

Kind regards,
Shuji
Ivaylo
Telerik team
 answered on 14 May 2015
3 answers
48 views
Hello

I just downloaded the Test Studio Trial version and recorded a test. Now I want to try running the test with a number of virtual users but I am unable to find any option controlling this. The documentation on the Telerik website seems to refer to a different version of Test Studio which does not have the same setup as the one I just downloaded.

Is there any newer documentation or videos displaying how to manage virtual users in the trial version of Test Studio?
Ray
Top achievements
Rank 1
 answered on 14 May 2015
1 answer
61 views

Hello, Telerik Team!

I am QA and I use TelerikTestStudio. I am trying to create test step where date will be = current date + some  days.

When I recorded test I chose required date. But if I will execute same test tomorrow - date will be wrong.
Unfortunately, I don't have programming skills.

Date format - 5/8/2015 (m/d/yyyy)

 
Looking forward on your response.

Boyan Boev
Telerik team
 answered on 13 May 2015
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?