Script not run
Home › Forums › Ask Expert › Script not run
- This topic has 7 replies, 3 voices, and was last updated 2 years, 7 months ago by Simon Yuen.
-
AuthorPosts
-
September 24, 2021 at 10:20 am #32835Simon YuenParticipant
When I run the script in the screenshot as attached. There is nothing happen and no step was executed according to the report in the attached screenshot. Please kindly advice.
September 24, 2021 at 11:01 am #32837Sasha ZAPModeratorHello Simon,
Please check the following video explaining how to be build your first script:
If your new to ZAPTEST please check our online full “ZAPTEST Beginner Tutorial” at:
To get more understanding of the ZAPTEST methods please check the “How-To” documentation page at:
https://www.zaptest.com/user-zone/product-training
Hope this will help.
Thanks,
ZAPTEST TeamSeptember 24, 2021 at 11:36 am #32838Simon YuenParticipantI followed the step in “Build your first script” but even I select the line to “run from line” as the screenshot, the line was not run actually.
September 24, 2021 at 12:14 pm #32839Sasha ZAPModeratorHello Simon,
Basically if you run a testing script from its first line you do not need to use the “Run From This Line” option, you can just click the “Run” button from the upper toolbar.
If you do use the “Run From This Line” option you need to be careful from where you actually execute this command in you r test:
It is best to select the “Run From This Line” option from an empty line above the line of which you want to actually execute.
Also make sure to do the following before executing a test:
1. Check first manually if you do not have issues executing the steps you’ve created in the test.
2. Make sure the ZAPTEST app instance installed in the same local machine from where you are trying to execute the test (There are more advanced features in ZAPTEST where you can execute a test in a remote machine but this will require extra settings).
3. Make sure no window except ZAPTETS is opened in your machine, in order to perform a proper test it is important to allow ZAPTEST to execute the required window’s AUT (Application Under Test) using the “Launch” method;
There are cases you can use already an opened window but such window must be recognized by ZAPTEST (This is based on the “Application” object’s properties).
Please let me know if the above helped to solve the issue.
Thanks,
ZAPTEST TeamSeptember 24, 2021 at 12:26 pm #32840Simon YuenParticipantAfter I clicked run, it was just nothing happen. (Please find the recording in zip file.)
Please kindly find the html testing result as attached as well.
ZAPTESTFreeEdition-Test2021-09-2416-17-37.zipMay I know any logging from Zaptest could help to further investigate or elaborate the issue?
Thanks!
September 24, 2021 at 12:28 pm #32841Simon YuenParticipantAttached the html testing file for your reference.
September 24, 2021 at 5:23 pm #32842Sergey ZAPKeymasterHello Simon,
Please re-install ZAPTEST.
– Uninstall your current version;
– Reboot your computer;
– Run the installation exe as administrator.September 28, 2021 at 5:10 am #32844Simon YuenParticipantResolved.
-
AuthorPosts
- You must be logged in to reply to this topic.