Telerik Forums
Test Studio Forum
1 answer
102 views

Part of one of the scenarios that I'm putting together requires me to create a unique name for a file.  Ideally, it would be test_workflow1, test_workflow2, etc. with the number on the end ascending.  My question is:  Is it possible to put in a coded step something that could possibly know to increment the name of the file? and if it is possible how would I go about doing so?  Also, would it be better to simply add a random number to the end of the file name?

 

Thanks

M

 

Elena
Telerik team
 answered on 17 Feb 2017
1 answer
168 views

My task is to write a test script to navigate to our news page, click on the first story (url), click a button to return to the news topics, and iterate through all of the urls contained on the page.  Not only are the names dynamic, but they change daily in quantity as well, so I need it written in a generic way as opposed to recording it by clicking on the actual link.

I tried writing a step to navigate to the href that contains the generic 'starts with' portion of the URL, my next plan is to extract the full text of that URL, click URL, then click 'return to news topics'.  Is this something that can be written in Telerik or must I rely on writing code? I'm just honestly lost trying to determine the best way to go about this without resorting to writing code.  Any assistance or advice would be greatly appreciated.

Thank you!

Debi

Elena
Telerik team
 answered on 17 Feb 2017
1 answer
89 views

Hi guys, 

Have questions in regards to Telerik elements. My project is located in TFS source control and it contains several folders that contains scripts(Elements1.png). 

Some of these scripts are not maintained and i was in the midst of trying to fix the outdated scripts when i encountered a big issue. I found out one of the step in the scripts have it's elements outdated so in order to fix it, i deleted the step and recorded a new step. But when i try to run this particular script(Element2.png), i couldn't even compile it and the error was pointing to some other script even tough i did nothing to that script(Element3.png). 

After looking at the issue even further, i found that running a particular script not only compiles that script, it also compiles the whole project and deleting the steps also deletes the element from that step.  And because Element3.png coded step calls the deleted element, the whole project compilation fails. 

I tried changing the new element name to the same name as the old element but when i did this, the project seems to compile but the playback is not happening. 

Is there work around to this issue? It's quite a major obstacle for me as due to this, i can't do any test scripts maintenance as whenever i delete a step in a script, the element used is also deleted and since Telerik is compiling the whole project to run the playback the other scripts is affected as well. 

I hope it the explanation made sense to you :) 

Thanks,

Best Regards,

Pravin
praja@dongenergy.dk

Elena
Telerik team
 answered on 16 Feb 2017
11 answers
526 views
Hello,

Currently I am using "Telerik Test Studio 2011.1" evaluation version.
I am unable to run the test from command line. As per earlier threads on the forum, it's adviced to run the .aii file, where as .aii file format is not present in the 2011.1 version (may be I am missing).

I have tried to run the .test file, still it's not working. Please let me know the workaround.

Awaiting for your soonest reply.

Regards,
Mandar.
Nikolai
Telerik team
 answered on 15 Feb 2017
4 answers
73 views
This issue appeared when I first tried to find an element in the dom view....appears to be consistent and frustrating. 
Has anyone else run into this?

Create a simple test as follows. 
Product Version: 2013.1.806.0
IE Version 10
Windows 7 Professional sp1

1. Navigate to google.
2. Create a wait element visible on the "Google Search" element.(Enable hover highlighting on the browser, move over to google search  button(larger part of it) and click on "blue nub" to bring up the elements menu, click on the quick task and select wait - element is visible)
3. Save!
4. Back in Test studio, go to the elements find the newly created element for the verificatoin.
5. Right click and select edit live.
6. In the Find element Screen, click on the DOM tab.
7. Click Validate.(This should expand the DOM tree)
8. On the dom view area, use the bottom sliderbar and slide it to the far right.
9. Click in the DOM view window.
Result: Error!!!! WOOO!
Expected: Not an error.


Elena
Telerik team
 answered on 14 Feb 2017
4 answers
92 views

hi,

i'm trying to verify content on table element that contains phone number therefor contains the + sign and a number.

when recording the inner text appears as expected, but while executing verification step the value returns empty. also on editing element in live the inner text appears empty. see attached images.

Note - when the table contains simple string it works OK.

Please advise, thanks.

 

Elena
Telerik team
 answered on 08 Feb 2017
17 answers
594 views
Hi Team,
I have 2 test files called as "Webtest.tstest" and "Wpftest.tstest". i want to run one test file i.e Webtest.tstest file using Batch file.

I am able to execute this test file from Command prompt using ArtOftestRunner.exe . For that i have used the below command
" ArtoftestRunner.exe Test = "C:\web\Webtest.tstest" " .
this command is not working for Batch file even when i ran from administrator rights.

please let me know as soon as possible, this is very high urgent for me.


Thanks
satyanarayana
Nikolay Petrov
Telerik team
 answered on 08 Feb 2017
1 answer
571 views

Hello,

I've managed to run test studio test list form TeamCity.
In the build step in TeamCity, I' am using this settings, see (Picture-1).

I call ArtOfTest.Runner.exe tо execute the test list.
The test list consists five tests, which tests call other tests and everything is running fine on execution machine.

Тhe Build Log of TeamCity shows me all the steps and when the result execution of the list is fail, shows me this message, see (Picture-2).

[22:47:07][Step 3/4] Overall Result: Fail
[22:47:17][Step 3/4] Result saved with path: 'D:\TeamCityData\buildAgent\work\5f900d37859a15dd\ProjectName\Results\TestListName131304556270198405.aiiresult'.

 

I can go to this path and open the .aiiresult file with the Test Studio and see where exactly is the error but is it possible
some how(for example to add some custom script in Build Step) to show the exact failure information in Build Log of TeamCity.
This is what I want to see in build log of TeamCity - see (Picture-3).

Currently I am using "Telerik Test Studio 2014.3" and TeamCity 10.0.3.

Regards,
Boris

Elena
Telerik team
 answered on 07 Feb 2017
1 answer
67 views

I have created a data-driven automated script for user account creation, I just want to add a step to extract a identification number which is generated when all the details are filled in and submit button is clicked before every next iteration, and write that in the same style-sheet from where its grabbing the data.

I am not sure if Coded Step would work in this case or there is any way to achieve this  except Coded Step.

Thanks in advance

 

Elena
Telerik team
 answered on 03 Feb 2017
5 answers
194 views

Hi Team,

 

I am using Local data of Test studio for data driving my tests. How can I use only a single row of data Iteration from Local data table ?

for example  : There are 5 row of data and I want to use only 3rd data row from grid. How can I achieve this ? Attaches Snap for example

 

Thanks

Abdul

 

Elena
Telerik team
 answered on 03 Feb 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?