Telerik Forums
Test Studio Forum
3 answers
141 views
We currently have a query string that is required in our website that is encrypted, it is url encoded.

When I navigate there with Test Studio, it is automatically decoding the query string.

How can I turn off this option, it is failing since the encryption requires it to be encoded
Anthony
Telerik team
 answered on 15 Jul 2011
1 answer
231 views
We currently have a query string that is required in our website that is encrypted, it is url encoded.

When I navigate there with Test Studio, it is automatically decoding the query string.

How can I turn off this option, it is failing since the encryption requires it to be encoded
Anthony
Telerik team
 answered on 15 Jul 2011
2 answers
126 views
upgraded to v 2011.1.712.0 today
enabled new recording, got to page with combo drop down where the default field entry is 'blank', clicked on open drop down arrow and Test Studio recorded the opening and automatically inserted the blank value selection as a test step, whilst the drop down was open I selected my actual value but this selection is not recorded. I have to pause the test, select my value, take focus away from element then enable recording and reselect the drop down arrow which now again records the opening and the now default selection of that I selected when paused.
This did not happen in the previous version, the opening of the drop down was not recorded only the selection from the combos.
darren
Top achievements
Rank 1
 answered on 15 Jul 2011
4 answers
149 views
During quick execute, about half the time I'm experiencing startup delays (~10 mins) at the start of my scripts.  So execution simply stays at say line 2 or 3, for ten minutes, before progressing onto the next step.  And the first 6 lines of my scripts are, in fact, all comments.  Btw, I recently upgraded Telerik to version .621.  Also I've never encountered this problem until recently.

Any idea as to what could be going on?  Or what to look into/verify?   

--AJ (aka Joel) 
Daniel Djambov
Telerik team
 answered on 15 Jul 2011
1 answer
133 views


Hi,

I have a question, I had configured a BAse URL in WebUI,   and I recorded the steps using this URL. But actually the team change the server and the URL to test ( the site is the same, just change the url), so, I just change the Base URL in WebUI for the new one.

Now, every time that try running a test case, is taking a lot of time loading the homepage. And if I change the URL for the old one, I do not have time issues.

I tried also to record new steps using new url, and the time issue persist.
When I start recording first step, ie. Entering to https://xxxxxx.xxx/xx 
Then on the recording page appears a message that looks is part of silverlight that said:   "Detected Silverlight"  and takes at least 2 minutes to load the page.

With the old URL this happening but takes seconds.


Any idea of what could be happening?

Thanks,


Anthony
Telerik team
 answered on 14 Jul 2011
1 answer
102 views
upgraded to v 2011.1.712.0 today
enabled new recording, got to page with combo drop down where the default field entry is 'blank', clicked on open drop down arrow and Test Studio recorded the opening and automatically inserted the blank value selection as a test step, whilst the drop down was open I selected my actual value but this selection is not recorded. I have to pause the test, select my value, take focus away from element then enable recording and reselect the drop down arrow which now again records the opening and the now default selection of that I selected when paused.
This did not happen in the previous version, the opening of the drop down was not recorded only the selection from the combos.
Cody
Telerik team
 answered on 14 Jul 2011
1 answer
100 views
upgraded to v 2011.1.712.0 today
enabled new recording, got to page with combo drop down where the default field entry is 'blank', clicked on open drop down arrow and Test Studio recorded the opening and automatically inserted the blank value selection as a test step, whilst the drop down was open I selected my actual value but this selection is not recorded. I have to pause the test, select my value, take focus away from element then enable recording and reselect the drop down arrow which now again records the opening and the now default selection of that I selected when paused.
This did not happen in the previous version, the opening of the drop down was not recorded only the selection from the combos.
Cody
Telerik team
 answered on 14 Jul 2011
1 answer
107 views
upgraded to v 2011.1.712.0 today
enabled new recording, got to page with combo drop down where the default field entry is 'blank', clicked on open drop down arrow and Test Studio recorded the opening and automatically inserted the blank value selection as a test step, whilst the drop down was open I selected my actual value but this selection is not recorded. I have to pause the test, select my value, take focus away from element then enable recording and reselect the drop down arrow which now again records the opening and the now default selection of that I selected when paused.
This did not happen in the previous version, the opening of the drop down was not recorded only the selection from the combos.
Cody
Telerik team
 answered on 14 Jul 2011
3 answers
172 views
Hi,

I've created this post to avoid confusion with my other post.

We have this test for Log on verification.
Scenario 1 for the normal process(Valid Users) and Scenario 2 for the negative test(Invalid Users).
We've put those scenarios in a datasource to be able to leverage the data-driven capability of the test studio.
After running the test, we noticed that Scenario 2 behaves like Scenario 1. Which is not the expected.
We later on observed that Test Studio doesn't closes the browser on every end of each iteration. So credentials for Iteration2 is actually the credentials for iteration1.  
We tried adding a 'Clear Cached' step but it still behaves the same.
We also tried to set the Behavior Property ClosesBrowser = True but still the same.
We also tried your suggestion on my other post to put the 'Clear Cached' step on the 1st step but still no luck.
And unfortunately, the design of our application page doesn't have a Log-off button.

Any thoughts on this?

Thanks,
Mariko
Anthony
Telerik team
 answered on 14 Jul 2011
5 answers
328 views
Hi,

I've tried using if...else.. logical step. The 'if' part just works fine but when I tried the scenario for negative test and supposed to be the 'else' part will execute, the test failed.

pseudo code goes like this:
Scenario 1
1. Navigate to application URL
2. Handle Log on dialog box (Valid Username and Password)
3. IF (Checks if application page is visible)
4. Navigate to each sections of the page and verifies each controls.
5. ELSE (Checks if page contains '<Error message>') -->> Not Executed

so, this test passed

Scenario 2
1. Navigate to application URL
2. Handle Log on dialog box (Invalid Username and Password)
3. IF (Checks if application page is visible) -->> since the page will not load, the IF part fails.
4. Navigate to each sections of the page and verifies each controls. -->> this will not be executed
5. ELSE (Checks if page contains '<Error message>') -->> this ELSE part also fails.

so for this scenario, the overall test execution fails which is not the expected result. I think the IF part and step 4 should not be executed so that the ELSE part could proceed.

I've attached screenshots of what I am doing.
Scenario1.jpg
Scenario2.jpg

Also, the above scenarios are executed separately. I've noticed that when I try to make the scenarios Data-Driven(Iteration 1 and 2), Iteration 2 being the negative test, it does not behave what is expected. Iteration 2 behaves like the Iteration 1. Invalid user can log on to the page. I think this is because Test Studio do not close Browser on every end of Iteration so even though I've added a 'Clear Cache' step at the end of the test, the credentials for Iteration 1 is still active for Iteration 2. I've also tried to set the Behavior Property ClosesBrowser = True but it has the same result. 

I've attached the Log file with a note inside. (deleted some project releted text).

Thanks!
Mariko
 

Anthony
Telerik team
 answered on 14 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?