Telerik Forums
Test Studio Forum
1 answer
152 views
I'm having the exact same issue. Below are my attempts to get this to work. 

 

//Enter path to file location
string fullPath = "C:\\Temp";
//This code will only open the download dialog and click Cancel
DownloadDialogsHandler handler = new DownloadDialogsHandler(Manager.ActiveBrowser, DialogButton.CANCEL, fullPath, Manager.Desktop);
Pages.UMDealerBusiness_40.UserControl130DBIEXCELREPORTDOWNLOADBtnDownloadReportLink.MouseClick();
The above will open the File Download dialog and it will just hang until it times out.

I've also tried the code below 
string fullPath = "C:\\Temp";
Pages.UMDealerBusiness_40.UserControl130DBIEXCELREPORTDOWNLOADBtnDownloadReportLink.Download(false, DownloadOption.Cancel, fullPath, 10000);

The code above won't open the File Download dialog. The overall result is a success, but I don't believe the dialog is being called at all.

I've also trying the built in dialog handlers in the development edition of WebAii, but they react the same way the first piece of code does.
Anthony
Telerik team
 answered on 15 Jul 2011
3 answers
150 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
266 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
145 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
161 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
140 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
108 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
108 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
117 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
188 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
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?