how to test background color and dynamic images during
runtime
Answers were Sorted based on User's Feedback
Answer / gom
For Web Appln:
Set Search = Browser("name:=.*").Page
("title:=.*").WebElement("innertext:=.*","Index:=1")
Set obj = Search.Object
BgColor = obj.currentStyle.backgroundColor
If BgColor <> "" Then
Msgbox "Pass"
Else
Msgbox "Fail"
End If
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sreeprasad
It is possible only in web applications only.by using check
points we have to test the back ground colour and dynamic
images.
for eg: Yahoomail page
back ground colour is blue
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / akshar jain
hi sreeprasad can u send s acript for the samea
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / satya
var=browser("gamil").page("gmail").image("tom and
jerry").get ro property("color")
msgbox var
| Is This Answer Correct ? | 1 Yes | 2 No |
How to import the Test Results in QTP to an Excel sheet
How you can write contexts to text file in qtp?
What is vulnerability?
i have qtp 9.5 ver software.but i don't know the license key. if anyone have license key please send it to my personal mail id(munir.reddy@yahoo.com
What are the Automation Limitations??
How can I map test requirement to Test Set (multiple test cases)? Under test lab, I have multiple test cases. I would like to map 1 requirement to all test cases under that test set (in test lab)? Currently, I think QC only allow mapping 1 test requirement to 1 test case. Instead I would like to map 1 test requirement to multiple test cases under one test lab.
4 Answers CarrizalSoft Technologies, DST Global Solutions,
What are the problems / difficulties faced when you used Smart Identification ?
Can anyone tell me what is the equivalant method to be used in QTP for "web_obj_get_text" used in winrunner. My winrunner code is below. set_window("Confirm Add Subscriber"); rc = web_obj_get_text("Add subscriber:","#8","#1",orderID,"The order number is","\.",1); basically I need to retrieved the "orderID " from a string present in 8th row & 1st col of table "Add subscriber"
In QTP where i have to concentrate more in the Interview point of View
What is checkpoints for quicktest professional (qtp)?
How to display the first 3 letters in these "ABCDEFGH" using qtp script?
tell me types of environment variables? what r they? explain details? pls give anwer any one?