Telerik Forums
Test Studio Forum
3 answers
106 views

What is the "ideal" and most efficient way to test this simple test scenario:

I have 2 types of users - Field and Admin. I need to log in as a Field user and verify some text on the logged in page. After that, I need to log in as an Admin and do the same (verify some text on the logged in page). 

In my test project I imagined something like this:

1. create "Login" test

   - databind / set test custom property / set 2 global variables in script of the username and password in test properties 

2. create "Login Field test"

  - add Test as Step (Login) and set guest's username and password wherever we stored credentials

  - add verify step to check for text

3. create "Login Admin test"

  - do the same as above steps

To organize everything, I would put the Login test step under the project (since it will be used for other tests in the project) but I would create a sub-folder and group the 2 tests inside since they both are related. I would then go the Test Lists and configure a new list with the 2 tests to finalize everything. 

 

Few questions that came up:

- Where can I get more information on the Custom Properties that the Test Details offer? Is this applicable to store the username and password here to databind as in my Login test step example? How would we access these values in the Standalone (like a $(variable) and in the code behind, if it's even possible?

- Do we have any videos/links that are similar to this scenario to check out? I've seen a few but just wanted to get advice from the experts :)

 

Any feedback, ideas, advice, common pitfalls doing it this way, etc is greatly appreciated!

- Chris

 

 

Elena
Telerik team
 answered on 08 Sep 2016
3 answers
90 views

Hello

I just received new task from my team to Create Automated Load Test scripts for our latest web health portal. I am doing research on Load Testing and I have few pretty basic questions. But I still seek clarification from an expert to understand properly.

Our Web App requires users to log in. Our requirement to test it using 5000 users in order to measure the performance. Also there are test cases for several other business processes but all are for already Logged in or registered users.

1. Whether the Load Tests we record and execute, are they cloud-based or not.

2. If I decide to use 5000 virtual users, will I still record in the same way like for one user. Do I actually need to create 5000 Test Data accounts to provide credentials to Virtual Users or not? or I am misunderstanding the whole VU concept.

3. If I need Test Data accounts for al VU's What would be the difference between this and Data Driven test in which we can add CSV, XML etc. ?

Thanks in Advance.

 

Satpreet Birah

 

Kaloyan
Telerik team
 answered on 08 Sep 2016
1 answer
49 views

Hello.   I am a beginner level user and looking for recommendations on the best way to create automated TC for multiple contact us forms.   Data must be unique and dynamic each time the TC is run.   Unfortunately I am not technically savvy enough to input code.   I have created dynamic data in an excel spreadsheet.   Is that the best route?   Anyone have any examples suggestions.   I have 23 websites to validate with 3 contact us forms on each site.   Thank you!

 

Examples of the TC:  

Route to Website #1

Enter:  First Name, Last Name(dynamic), Email (dynamic), telephone number (dynamic)

Submit guest card

confirm Thank you pop up is received.   

Route to Website #2

Enter:  First Name, Last Name(dynamic), Email (dynamic), telephone number (dynamic)
Submit guest card
confirm Thank you pop up is received.   

 

Elena
Telerik team
 answered on 02 Sep 2016
3 answers
159 views

Hello I try to connect to a mail server and have not been able to establish a working connection.

When I enter the correct network adress and port, then Test Studio throws an error.

While I am able to connect to the server via Windows Telnet.

Our server is postfix.

 

So, how exactly do the fields need to filled?

When I don't enter a password, does Test Studio try to login without a password, use it anonymously, or not bother with authentification at all?

 

Right now I cannot find what is wrong on my configuration because I don't know what Test Studio is trying to do. I just know that it fails.
Every bit of help is appreciated and I will do my best to help you help me.

 

Daniel Djambov
Telerik team
 answered on 01 Sep 2016
9 answers
120 views

Is there any way to publish automated test results into TFS 2015 with the new build system? 

I have tried with both ArtOfTest.Runner and Mstest but neither will publish the trx file into the build.

Thanks
Shaun

Elena
Telerik team
 answered on 31 Aug 2016
17 answers
218 views
my application -in the page some text is there say "hello" and in the same page there is a dropdown having diffrnt language.so if i ll select dutch then "Hello" will change to same lang.so in test i am verifying the word hello .i want data bind so i put a excel having two column language and word.in language US and dutch and in Word Hello and hello in dutch lang.  so test should go loke this 1. go to page by default value in drop down US lang 2.it will verify word hello 3.again return to page select dutch and verify the word(using data binding)....can u please send me a video how to do this test .
Nikolay Petrov
Telerik team
 answered on 30 Aug 2016
1 answer
85 views

Hi all,

 

I was wondering if the following action could be done without the need for a coded step :

Scenario:  an HTML page shows a search results in a Dynamic Table with 4 fixed columns.

1. Verify that the first column of each row contains the word: "blue" 

 

I am new to Test Studio, I believe in Test Studio a "Conditions" step can be created using IF, ELSE  as well as LOOP.

 

I thought of getting the row count of the Table and use that value to perform my loop operation, but I am not sure how to increment or decrement a databindvalue using the LOOP construst.

 

Cheers

 

FN.

 

Daniel Djambov
Telerik team
 answered on 30 Aug 2016
9 answers
520 views

Hi,

I am new to Telerik test studio.

 

For a registration page, am entering the email field and also extracting the input value, it is passing and while script execution also it is visible that the value is being entered in the field. But when register button is clicked, it displays error that email field is not entered.

 

How come it is not being passed, when it is visible in the application while running that it is being entered.

 

Please help

 

Nikolay Petrov
Telerik team
 answered on 30 Aug 2016
1 answer
92 views

Hi.

 

When recording a test, the part that involves kendoinput values doesnt work when i run it..

The text that´s inserted on the kendo input value dissapears at the moment that the kendo select is invocated.

 

 

 

 

 

Pavel
Telerik team
 answered on 30 Aug 2016
1 answer
62 views

In a coded test, I’m trying to compare an image displayed in a ArtOfTest.WebAii.Controls.Xaml.Wpf.Image control with an image I have on the file system. This would be quite straightforward in WPF, but how do I get the bitmap (either as a byte[] or System.Drawing.Bitmap) from ArtOfTest.WebAii.Controls.Xaml.Wpf.Image control? 

Thanks

Konstantin Petkov
Telerik team
 answered on 30 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?