Telerik Forums
Test Studio Forum
3 answers
62 views
Hi, I have a question about load testing with data(username/password). When I try to load test with multiple accounts(5 accounts as an example), if I run it only for 5 minutes it only goes through one iteration for one account, however if I run the load test for 10 minutes, it runs the test with two accounts. I was curious if I am missing something. I am currently trying to test an application for a user to fill out, which should only at most take 1minute. Is there an option for make the load test run until all steps have been completed, because if I set the load test for 5 minutes it will run the test for the entire time. Thank you.
Nikolay Petrov
Telerik team
 answered on 09 Aug 2016
1 answer
74 views

Hello,

Does anyone know how to access the name of the current test list inside a coded step?

 

Thanks,

Steve

Elena
Telerik team
 answered on 08 Aug 2016
1 answer
110 views
I am trying to create a loop in Telerik Test Studio that will extract text from a textbox using cell##gridviewcell. So that I can iterate through all 18 grid rows * 25 pages and save them all at once. I am going to use the extracted data to verify the same rows after deleting and reconstructing them. Below is a coded effort that I tried to achieve itteration in C#.

string[] conceptName = new String[522];
for(int i=0; i<29; i++)
{
for(int j=0; j<18; j++)
    {int k = i+j;string extractCell = "Pages.NameOFWEBSITE.ConceptBank0.SilverlightApp.Cell"+j+"1Gridviewcell.Text";SetExtractedValue("Row",extractCell);Console.WriteLine("{0}", conceptName[k]);
    }
}

Ideally, if I could find the code behind the step in telerik: gridviewcell Extract text into DataBindVariable $(Cell01Gridviewcell) It would give me the text as a string that I could then save to later use in verification.
I have done quite a bit of searching, the two leads I have found include:
these may hold the answer but i was unable to figure it out.http://docs.telerik.com/teststudio/advanced-topics/coded-samples/general/extracted-variables-in-codehttps://telerikhelper.net/category/test-studio/
telerik version 2014.4.1411.0
Nikolay Petrov
Telerik team
 answered on 08 Aug 2016
1 answer
84 views
I am using Test Studio Mobile Testing, but after I have successfully recorded the test procedures, and during executing the test, there are some steps which are failed. I just want to know what are the limitations of the software? Because the app that we're testing requires wireless connection, and there's a function like keep me logged in, so when I'm executing the test, it is failed at the first step. Please provide us the limitation of the SW, thank you.
Nikolay Petrov
Telerik team
 answered on 08 Aug 2016
1 answer
93 views

Hello,

Our web application uses Common Access Card for authentication. For those who are not familiar with CAC smart card, here is the definition:

"The CAC, a "smart" card about the size of a credit card, is the standard identification for active duty uniformed service personnel, Selected Reserve, DoD civilian employees, and eligible contractor personnel."

http://www.cac.mil/

When I recorded the test, I logged in with using my CAC card (CAC card is physically connected to the computer through a CAC card reader using USB cable). The test executed and passed. No problem there. If I remove the CAC card and run the test it would not work. I get alert message requesting to insert CAC card. The fact that I have to leave my CAC card in all the time when I run the test can be a potential issue down the road. I'm just wondering if there is any kind of support for CAC card in the Test Studio. What I ultimately wanted to do is not having to keep my CAC card physically at the machine when I run the test. Does anyone have any suggestions?

Thank you!

Jun

Elena
Telerik team
 answered on 05 Aug 2016
3 answers
107 views
Hello,

I need help with while loop -my test case contains several steps as part of while loop,  I want to check status of one element and repeat steps inside loop as long as element has specified status, it jumps into loop first time but after that it crashes even that status of element has not been changed. I tried almost everything but wihout success ..

so this loop is useless because it doesnt repeat steps inside it in case of true condition I dont know where is the problem,  i am aware that main point here is that element in verification condition must be available at the end of the loop (i am verifying this by adding same verification at the end of the loop what pasess of course), i tried also build custom element and use it as verify condition in form of ExistNot but issue persists..    

thanks for help
Boyan Boev
Telerik team
 answered on 05 Aug 2016
7 answers
186 views

Hi

I'm trying to write a check to see if the word "error" is visible anywhere on the current page: how might I do this?

I'd hoped to be able to do something like...

Element e = Find.ByContent("p:error");
if (e.Equals(null))
{
    Log.WriteLine("Could not find error message");
}

But I get this error:

System.NullReferenceException: Object reference not set to an instance of an object.

Any help gratefully received.

Thanks

 

Elena
Telerik team
 answered on 05 Aug 2016
5 answers
96 views
I've built test lists that I run whenever we do a new build to a specific environment.
In my case, we're using TFS build agents to deploy the solution to DEV, STG, and PROD.
Is there a way to trigger a specific Test Studio Test List whenever the build is deployed?
Elena
Telerik team
 answered on 03 Aug 2016
3 answers
77 views

Hi,

I am trying to do a load test with multiple unique accounts logging into the test site at once. I am doing a data driven approach, however I do not think I am doing it right. I set up a test with 100 unique accounts bounded, however whenever I try to upload my test to the load test application by capturing user profile it will go through all the steps 100 times before being uploaded. Am I doing it correctly? I feel like I am doing something wrong as the test studio will sometimes crash when trying to go through all 100 accounts tests before being uploaded to the user profile for testing.

Elena
Telerik team
 answered on 02 Aug 2016
1 answer
39 views

Hi,

I am automating an imaging application.

 

Here we have pan functionality, where in we can drag the image.

After dragging and before dragging I get the screen rectangle and store it. Both the objects are same in my case but I am expecting a changes since the image object is moved.

 

I have tried refreshing object and visual tree of application, still not able to resolve.

 

 

Thanks!

Devendra

Elena
Telerik team
 answered on 02 Aug 2016
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?