Telerik Forums
Test Studio Forum
2 answers
240 views

I thought I had this figured out, but TS has proven me wrong. My problem is with find expressions and has happened multiple times. When I fix an expression and validate it, TS says it can find the element. However, when I run the test, the same step fails with the same cant locate error. When I look at the find expression, its still the one I corrected but now TS doesnt recognize it as valid expression.

Another issue I'm have has to do with 'Enter text'. All I get is errors like:  

Target '[Element: 'ul:0']' is not a supported element to set text to.

 

 

Thanks

 

Elena
Telerik team
 answered on 09 Jul 2021
1 answer
145 views

Hopefully, one last question. This scenario has happened a few times.  My test will error on a step. I find it in the DOM, and add some more attributes to the find expression. TS says it found my element. I re-run my test and it will fail on the same step again. I look at the find expression and it is the one I defined, and TS validated. So, why the failure. 

 

 

Steve

Elena
Telerik team
 answered on 01 Jul 2021
1 answer
186 views

I have made several tests with no issue. However, on playback , it seems to be a different story. For instance, I will play a test which fails at Step 25. I mark it as Run to Here and start it again, so I can investigate.  This time, the test fails at Step 16 and never reaches 25. This has happened to me several times, but have not been able to figure out the issue.

I am currently working on a wizard navigation piece that spans across 2 domains. At the halfway point, the first domain (abc.domain.com) redirects to another server with the second domain (xyz.domain.com). In case it matters. The tests seem to fall apart after the domain switch.

 

 

Elena
Telerik team
 answered on 28 Jun 2021
1 answer
256 views

Hi Team,

I have been working to configure Jenkins to execute Test studio test files but it is failing. 

I am following this URL : https://docs.telerik.com/teststudio/advanced-topics/build-server/jenkins-ci-plugin

I have set up Test runner configuration but It throws error like screenshot attached.

Error :

Running as SYSTEM Building on master in workspace C:\Program Files (x86)\Jenkins\workspace\02_Login Scenarios Command: "C:\Program Files (x86)\Telerik\Test Studio\Bin\ArtOfTest.Runner.exe" test="C:\Dev\OnTime\Scheduler\WebTests\System Regression\02_Login Scenarios\Success Login.tstest" root="C:\Dev\OnTime\Scheduler\WebTests\System Regression\02_Login Scenarios" out="C:\Program Files (x86)\Jenkins\workspace\02_Login Scenarios\TestStudioResults" result="TestStudioResults-1624407009049.junitstep" junitstep Command output: Error: unrecognized or incomplete command line. Unsupported argument 'junitstep'!

I also tried to use other Path to root folder which has settings.aiis but same error.

Please help !

Thanks you in advance.

 

 

 

1 answer
155 views

I have an Angular Material Datepicker that has a couple of issues.  The Start input has been saddled with a dynamic id (Dp1623875848Text), and I cant remove it(dependency).

I was thinking, since it still had a name="date-start" attribute, I could tie it to DateStartText in my entity repository. So, before I journey down a long road of futility, is coded step an option for fixing this?

 

My second issue with the datepicker, it is inconsistent about making it into the capture. If I bypass the calendars and directly type in the dates, they show up in the capture. If I select it through the calendars, they wont show in the capture. I suspect this a timing issue, but the dates are in steps 2 and 3. So, I'm not sure how fix that.

 

Steve

2 answers
152 views

Hello Team,

I am trying to execute Test Studio API Project from Jenkins. For that  I have followed this https://docs.telerik.com/teststudio-apis/advanced-topics/ci-server-integration#jenkins-plugin  but can't see 'Test Studio for API runner configuratio'

1. Copied  teststudio.hpi to jenkins plugin folder

2. Re-start Jenkins

3. I have created 'Free style project'

4. Add build step -> Can't find 'Test Studio for API runner configuration'

Am I missing something? Thanks in advance.

 

William
Top achievements
Rank 1
Veteran
Iron
 answered on 22 Jun 2021
0 answers
199 views

Sorry,

I'm  having trouble getting TTS to capture an input field. It was working earlier exactly as it should. I was thinking that I did something to the Element Repository.   

 

Do you have any documentation about modularity of tests?

 

Steve
Top achievements
Rank 1
Iron
 updated question on 15 Jun 2021
1 answer
344 views

Hello Forum,

I haven't seen this precise issue/question in this forum, that's why I open this thread.
The issue started happening when we upgraded from Telerik Testing Framework 2019 (191.2.12.0) to version 2021 (211.3.9.0)

Our code hasn't changed except for the Telerik Testing Framework version.

Previous behavior (the correct or expected one)
In our test, one of the steps involves  Accepting a Client Certificate Window.
We normally achieve this by :
- clicking the button that triggers the Client Certificate Selection WIndow in Chrome,
- we wait a couple of seconds and then we Send an "Enter" to the screen.

Despite the fact, this might not be the best approach or practice, it's been working perfectly, for years.

But after we upgraded to version 2021:
- After clicking the button that triggers the Client Certificate Selection Window it gets automatically closed without the possibility to accept this certificate. Thus, we don't get authenticated.

There's no change in our code, just the version of the Telerik Testing Framework.
We are only interested in testing it with Chrome (that's our requirement)

Environment:

- Windows Server 2016 Standard Edition

- Chrome 91.0.4472.101 (Official Build) (64-bit)

I would appreciate any help. I may have done something wrong or skipped something but as far as I can see the only change is the Telerik Testing Framework version.

Sebastian Inones

Elena
Telerik team
 answered on 14 Jun 2021
1 answer
195 views

Hi,

Is there  a way or a coded step to stop the data driven loop if the data is not found? Instead of running all the remaining items over I want to stop the test and move on to the next test instead. 

Thanks

Plamen Mitrev
Telerik team
 answered on 14 Jun 2021
1 answer
230 views

Good morning,

I am trying to add dialog elements to my tests but none of them shows up. I even tried testing as a step but no luck. I see that the browser handlers are up to date. Any help would be appreciated.

Elena
Telerik team
 answered on 10 Jun 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?