cancel
Showing results for 
Search instead for 
Did you mean: 

Test Complete- Wait and scroll queries

SOLVED
HarishN123
New Contributor

Test Complete- Wait and scroll queries

Hi,

 

I have few queries on Functional web testing. Could you please provide solutions for below queries.

1. How to add wait in between steps?

2. Script is geeting failed sometime due to below error:

There was an attempt to perform an action at a point, which is beyond the screen. 17:45:54 Normal 21.57.

3. How to add scroll step in between steps?

4. How to capture text(Example: Random generate number) and use it in different script as a variable?

5. How to modify existing steps if the step was wrong?

 

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Marsha_R
Community Hero

Re: Test Complete- Wait and scroll queries

Hi @HarishN123 

 

Welcome to the forum!  I'll go ahead and address all these for you here, but next time it would be helpful if you post different questions separately so others can search for them later on.  

 

Here we go!

 

1)  You can use Delay in between steps, but a more specific way is to use a Wait method

https://support.smartbear.com/testcomplete/docs/keyword-testing/reference/misc/delay.html

https://support.smartbear.com/testcomplete/docs/app-objects/common-tasks/waiting-process-or-window-a...

 

2) The line that is failing here is probably using coordinates to see an object instead of the object name and coordinates can change for a variety of reasons.  Change this line to address the object directly and see if that works for you.

https://support.smartbear.com/testcomplete/docs/testing-with/exploring-apps/object-spy/about.html

https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/inde...

 

3) Here's some information about scrolling

https://support.smartbear.com/testcomplete/docs/app-objects/specific-tasks/standard/scroll-bar/index...

 

4) Here's some information about Project Variables.  Every script in a project can share these.

https://support.smartbear.com/testcomplete/docs/testing-with/variables/collections/project-and-proje...

 

5) You can double click on an error in the log to take you to the line that failed in the editor.  Make any changes you need there and save them.  

 

View solution in original post

2 REPLIES 2
Marsha_R
Community Hero

Re: Test Complete- Wait and scroll queries

Hi @HarishN123 

 

Welcome to the forum!  I'll go ahead and address all these for you here, but next time it would be helpful if you post different questions separately so others can search for them later on.  

 

Here we go!

 

1)  You can use Delay in between steps, but a more specific way is to use a Wait method

https://support.smartbear.com/testcomplete/docs/keyword-testing/reference/misc/delay.html

https://support.smartbear.com/testcomplete/docs/app-objects/common-tasks/waiting-process-or-window-a...

 

2) The line that is failing here is probably using coordinates to see an object instead of the object name and coordinates can change for a variety of reasons.  Change this line to address the object directly and see if that works for you.

https://support.smartbear.com/testcomplete/docs/testing-with/exploring-apps/object-spy/about.html

https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/inde...

 

3) Here's some information about scrolling

https://support.smartbear.com/testcomplete/docs/app-objects/specific-tasks/standard/scroll-bar/index...

 

4) Here's some information about Project Variables.  Every script in a project can share these.

https://support.smartbear.com/testcomplete/docs/testing-with/variables/collections/project-and-proje...

 

5) You can double click on an error in the log to take you to the line that failed in the editor.  Make any changes you need there and save them.  

 

View solution in original post

sonya_m
Community Manager

Re: Test Complete- Wait and scroll queries

What a great answer! Thank you Marsha!


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors