-
-
-
-
-
-
r”)
2. Border =
Browser("Browser").Page("Page").WebEdit("Name").GetROProperty(“bordercolo
r”)
3. Border = passEditStyle.borderColor
4. Set passEdit = Browser("Browser").Page("Page").TextBox("Name").Object
5. Set passEdit = Browser("Browser").Page("Page").WebEdit("Name").Object
6. Set passEditStyle = passEdit.currentstyle
Which 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.
">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.
-
-
-
Can you record right click and the menu appearing after right clicking on any of the links in the browser...??If YES then HOW...??
Yes,we can right click and select the links from menu.Example:If u want to right click on the link useBrowser(objBrowser).Page(objPage).Link(objText,objType).FireEvent "oncontextmenu"This will opens the menu.If u want to click on any link in that menuBrowser(objBrowser).Page(objPage).WebElement(objText,objType).Click
-
-
I was unsuccessful in my all attempts...
Any help on the same would be highly appreciable...">Hi,I am using QTP with peoplesoft Add-in for recording test cases for PEOPLESOFT...I want to use "RIGHT CLICK" event of the mouse... I want to right click on a link and thro' the menu appearing, wanna select an option...I was unsuccessful in my all attempts...Any help on the same would be highly appreciable...
-
-
-
-
-
-
-
-
-
QTP Interview Questions
Ans