Hello,
I have loading progress element on some page and I need to perform wait action till element's "style = display: none;"
Could you please tell how can I perform this action?
Here is the element:
<div style="display: none;" class="RadAjax RadAjax_Office2007 " id="LoadingPanel">
<div class="raDiv">
</div><div class="raColor raTransp">
</div>
</div>
Thank you in advance
I have loading progress element on some page and I need to perform wait action till element's "style = display: none;"
Could you please tell how can I perform this action?
Here is the element:
<div style="display: none;" class="RadAjax RadAjax_Office2007 " id="LoadingPanel">
<div class="raDiv">
</div><div class="raColor raTransp">
</div>
</div>
Thank you in advance
5 Answers, 1 is accepted
0
Hi Nataly,
Thank you for the good question!
Assuming you have that AjaxLoadingPanelDiv element added in the project (just click on it when appears) and the live page available, follow these steps:
For the purpose of the display:none check:
You will get the value 'none' automatically populated. Click OK to add the verification to your test.
I've attached a capture from the Verification Builder to assist.
Best wishes,
Konstantin Petkov
the Telerik team
Thank you for the good question!
Assuming you have that AjaxLoadingPanelDiv element added in the project (just click on it when appears) and the live page available, follow these steps:
- Right-click on it from the Element Explorer and choose 'Locate in DOM Explorer'.
- Right-click on the div element in the DOM Explorer and choose 'Show Element Menu'.
- From the element menu you can click on the Build Verification button (the first in the second row) and get the Sentence Verification Builder. This guy lets you choose from a various options/properties.
For the purpose of the display:none check:
- Choose the 'Style' verification.
- Change the 'Font' attribute to 'Display'.
- Change the 'Width' sub attribute to 'Display'.
You will get the value 'none' automatically populated. Click OK to add the verification to your test.
I've attached a capture from the Verification Builder to assist.
Best wishes,
Konstantin Petkov
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
Hi Nataly,
Just a follow-up. I assume the loading panel appears during some long update of another control. Instead of trying to capture the loading progress, I'd personally look for inserting a WaitFor element/control update. I guess this is related to the other thread you opened concerning the new item insertion into RadGrid so you won't need to capture the AJAX loading progress once the RadGrid verification issue gets resolved.
Kind regards,
Konstantin Petkov
the Telerik team
Just a follow-up. I assume the loading panel appears during some long update of another control. Instead of trying to capture the loading progress, I'd personally look for inserting a WaitFor element/control update. I guess this is related to the other thread you opened concerning the new item insertion into RadGrid so you won't need to capture the AJAX loading progress once the RadGrid verification issue gets resolved.
Kind regards,
Konstantin Petkov
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

Nataly
Top achievements
Rank 1
answered on 12 Aug 2010, 10:29 AM
Hi Konstantin,
You are right, I'm trying to find workaround for waiting for grid item's count. Unfortunately those solution doesn't work for me :(
In other hand the test may be executed while another person is adding a row to grid and I'll get failed test as the result.
Could you please, help me in the topic "RadPanelBarItem: 'Some' action -> 'Navigate' to leads to "Timeout error" in FF" while I'm trying to use 'Wait for style' solution?
Thank you very much!
Nataly
You are right, I'm trying to find workaround for waiting for grid item's count. Unfortunately those solution doesn't work for me :(
In other hand the test may be executed while another person is adding a row to grid and I'll get failed test as the result.
Could you please, help me in the topic "RadPanelBarItem: 'Some' action -> 'Navigate' to leads to "Timeout error" in FF" while I'm trying to use 'Wait for style' solution?
Thank you very much!
Nataly
0

Nataly
Top achievements
Rank 1
answered on 12 Aug 2010, 10:45 AM
Konstantin,
I've performed all steps you wrote and get 'Verify styles' step. But I need 'Wait for styles' one. How can I write second one?
Thank you
I've performed all steps you wrote and get 'Verify styles' step. But I need 'Wait for styles' one. How can I write second one?
Thank you
0
Hello Nataly,
You can change the Verify to Wait (and back if needed) from the TestExplorer. Right-click on the selected step and check the 'Set as Wait' option.
Kind regards,
Konstantin Petkov
the Telerik team
You can change the Verify to Wait (and back if needed) from the TestExplorer. Right-click on the selected step and check the 'Set as Wait' option.
Kind regards,
Konstantin Petkov
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