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 identify the user defind varibles? plz tell me
Can we directly automate test script according to requirements?
A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.
What is the advantage of associating a procedure with a test object?
what's the difference in between function and sub and give some code as well
where exactly we can't do the automation testing. give some examples
Is there any thing that we can replace recovery scenario manager in QTP.
i need to learn the descriptive programming very well so for that what to do am reading the qtp user mannual but it is not so any materials or links with examples i want please help me
In QTP if u got a defect , how to report to developer using Test director or Quality center .
How can I change object description or check point values in qtp?
in flight reservation application. when i entered flyto combobox as london. and i have to check this london is present in flyfrom combobox.give me the code with good explanation. extention to this question. at each iteration i have to put(WRITE) the fly from and fly to city in database table
A web page title might be xxxx@xyz.com or xxxy@xxx.co or xyz@abc.in.Using what mandatory properties can be the page identified.Give the regular expression for that.