Hi,
How can i automate/capture the RadBusyIndicator? I want to populate the textbox correctly so I set next action to Wait.ForNoMotion but it doesn't works.
Also, is it possible to extract the URL the page being tested and add a web/wcf service to the Test Project?
Thanks
How can i automate/capture the RadBusyIndicator? I want to populate the textbox correctly so I set next action to Wait.ForNoMotion but it doesn't works.
Also, is it possible to extract the URL the page being tested and add a web/wcf service to the Test Project?
Thanks
5 Answers, 1 is accepted
0
Accepted
Hi Mariko,
1. I tested this against a Telerik Busy Indicator Demo Site and got it to work correctly without code:
I tested the IsBusyIndicationVisible property and it worked as well. In my test, I manually unchecked the IsBusy box on the left-hand Configurator menu during execution to satisfy the verification's condition so it could pass.
You could also set it as an Extracted Value to be used later in the test by a Data Bound Navigate to step:
3. Test Studio does not currently supported testing Web/WCF Services. This is being considered for a potential future implementation, however.
Greetings,
Anthony
the Telerik team
1. I tested this against a Telerik Busy Indicator Demo Site and got it to work correctly without code:
- Locate the RadBusyIndicator in the DOM (see attached screen shot).
- Right click it, choose Show Element Menu, then Build Verification.
- Click the Property button.
- Select the IsBusy property and set it to False.
- You can optionally right click the Verify step to Change Role > Set as Wait.
I tested the IsBusyIndicationVisible property and it worked as well. In my test, I manually unchecked the IsBusy box on the left-hand Configurator menu during execution to satisfy the verification's condition so it could pass.
2. Yes, you can extract the URL of the page being tested in code with ActiveBrowser.Url. Here's an example that writes that into the log:
Log.WriteLine(ActiveBrowser.Url.ToString());
You could also set it as an Extracted Value to be used later in the test by a Data Bound Navigate to step:
string
url = ActiveBrowser.Url.ToString();
SetExtractedValue(
"extractedURL"
, url);
3. Test Studio does not currently supported testing Web/WCF Services. This is being considered for a potential future implementation, however.
Greetings,
Anthony
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Mariko
Top achievements
Rank 1
answered on 14 Jun 2012, 07:17 AM
Hi Anthony,
How can I use the Wait.For as a coded step? When I change the custom code it generate returns an error
The result of the expression is always 'false' since a value of type 'bool' is never equal to 'null' of type '<null>'
Thanks
How can I use the Wait.For as a coded step? When I change the custom code it generate returns an error
The result of the expression is always 'false' since a value of type 'bool' is never equal to 'null' of type '<null>'
Thanks
0
Hello Mariko,
Anthony
the Telerik team
You've discovered a bug for which I filed a report. You can find the PITS Issue here: Public URL. I've updated your Telerik points accordingly.
If I discover a work-around in the meantime, I'll update this thread. For now, please continue to use the standard, non-coded step.
Anthony
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Test Studio Trainings
0
Mariko
Top achievements
Rank 1
answered on 16 Jun 2012, 10:58 AM
Hi Anthony,
I encountered the bug because I have a code error. I didn't notice that there were other errors because the rad busy indicator error took a lot of lines.
Thanks.
I encountered the bug because I have a code error. I didn't notice that there were other errors because the rad busy indicator error took a lot of lines.
Thanks.
0
Hello Mariko,
Anthony
the Telerik team
Let us know if you require assistance with your other code error.
Anthony
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Test Studio Trainings