Q. You create QuickTest Pro scripts for an application that performs a great deal of server-side processing which causes synchronization issues when the scripts are run. The only indication that the system is busy processing is an animated image of a flashing red light. Each time the system is finished processing, the image is returned to a static image of a green light. Assume that none of the image’s properties available to QuickTest Pro indicate whether or not the system is busy.What is the best way to enhance your scripts so that they will be able to wait while the system is busy processing?A Insert a bitmap checkpoint that checks for the green light image in your script at each location where you expect the system to spend excessive time processing. Set the checkpoint timeout value long enough to accommodate any delayed server-side processing.. B Insert a bitmap checkpoint that waits for the red light image in your script at each location where you expect the system to spend excessive time processing. C Insert wait statements in your script at each location where you expect the system to spend excessive time processing. D Increase the object synchronization timeout for your scripts. E Insert WaitProperty statements in your script at each location where you expect the system to spend excessive time processing. --------------------Q. The application under test (AUT) is a web application that uses cascading style sheets (CSS). Within the application, there are several boxes for users to enter their information. Some of the fields are required and some are not. If a field is required, the text box has a border color of red. You must verify that if a text box is required, the border is in fact red. Assuming the logical name of the text box is “Name” and the color is assigned to the variable “Border”, consider the following code: 1. Border = Browser("Browser").Page("Page").TextBox("Name").GetROProperty(“bordercolor”)2. Border = Browser("Browser").Page("Page").WebEdit("Name").GetROProperty(“bordercolor”)3. Border = passEditStyle.borderColor4. Set passEdit = Browser("Browser").Page("Page").TextBox("Name").Object5. Set passEdit = Browser("Browser").Page("Page").WebEdit("Name").Object 6. Set passEditStyle = passEdit.currentstyleWhich lines of the code hould be used to capture the border color of the text box if it is specified within the CSS?A 2 B 1 C 5->6->3 D 4->6->3 E This cannot be done. QuickTest Professional has no visibility to CSS properties and their values.

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions