If the session is timed out, then the Status will be “Timeout”. Then it notifies the Status in Yellow color dot.If it’s failed because of an error, the Status will be “Errors”.And then, it notifies the Status in Green color dot. Once the execution is Successfully completed, then the Status will be changed from “Running” to “Completed”.Lively, we can see the video in BrowserStack about what’s happening while execution.Once the Script started execution, all the logs will get started recording.Under All projects the running and the executed scripts will be displayed.Every script execution will be maintained as a session with a unique session ID.Once the script started execution, it will trigger the BrowserStack to start the script to Run.Step 1: For PHP, I’m executing through command prompt. (If you are using eclipse, you need to select the script and click Run). Step 6: At the end of the code, we must give the code to end otherwise, the script will not stop running and will end up with the status of timeout. Here’s the code for quitting statement. And for getting the title form the website. In the below sample program, I have written a code for just opening the website. Step 5: After that, you need to write a code for desired operation you want to test. If you don’t want to record the video log, then you can add the below code in the script. It may result in increasing the execution time. Note: Although recording the logs in the form of video is very helpful, but it will take some time to make it work. It also enables the option with Play and download, we can watch the video and we can also share the video by downloading. It helps to identify the exact root cause while execution. Video: It records all the actions done through the automated script.Visual Logs: Which provides the details with screenshots.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |