Ask a Question

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.

2 REPLIES 2
Marsha_R
Community Hero

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.  

 


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
sonya_m
SmartBear Alumni (Retired)

What a great answer! Thank you Marsha!


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: