This is a migrated thread and some comments may be shown as answers.

AjaxTimeout missing?

3 Answers 89 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 18 Mar 2013, 11:28 PM
The AjaxTimeout property referenced on this page

http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/modifying-tests/change-test-step-properties.aspx

Isn't showing up for me in the test step properties. Is there something special I need to do?

3 Answers, 1 is accepted

Sort by
0
Rodney
Telerik team
answered on 20 Mar 2013, 07:09 PM
Hi Dave,

Thank you for contacting Telerik. The AJAX Timeout property's availability is dependent on the type of test step selected. For instance, there would be no reason to include an AJAX timeout for a Desktop Capture step. Yet, an AJAX Timeout should be available for any test step where a delay for pending AJAX requests might be necessary. 

I think the easiest way to sort this out would be to have a look at one of your tests. Please attach one of your tests to this thread. Be sure to remove any sensitive data that you do not want to share.

Kind Regards,
Rodney
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Vince
Top achievements
Rank 1
answered on 08 Aug 2013, 03:47 PM
I've got this problem; one of my verifications is implemented in a coded step, but the AjaxTimeout setting isn't available on a coded step even though I need it.

Here's a quick summary of some different step types:

  1. Action: AjaxTimeout is available.
  2. Call test as step: AjaxTimeout is not available.
  3. Wait: AjaxTimeout is available.
  4. Comment: AjaxTimeout is not available.
  5. Verify: AjaxTimeout is not available.
  6. Coded step: AjaxTimeout is not available.

Going through the cases where it is not available:
2. Call test as step: not a problem, because the steps in that test should be able to use AjaxTimeout as necessary.
4. Comment: not relevant.
5. Verify: AjaxTimeout not necessary. If the test needs to wait for the verification, the step can be turned into a Wait.
6. Coded step: In this case, I do need an AjaxTimeout but it is not available.


0
Rodney
Telerik team
answered on 08 Aug 2013, 10:22 PM
Hello Vince,

Try this code for your coded steps:

ActiveBrowser.WaitForAjax(30000);


Regards,
Rodney
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Dave
Top achievements
Rank 1
Answers by
Rodney
Telerik team
Vince
Top achievements
Rank 1
Share this question
or