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 many add-ins comes by default with qtp?
How to find the number the number of Links, Brolken Links in a webpage?
Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance
wht is Manual Testing Frame work. Pls anybody can give appropriate answers
How u will open the build automatically in QTP except using Systemutil.run command
I got an error "The"flightres" Dialog was not found in the Object Repository. Check the OR to confirm that the object exists or to find the correct name for the object." while running the following script Set flightres=description.Create() flightres("text").value="Login" flightres("Class Name").value="Dialog" Set agent = description.Create() agent("nativeclass").value="WinEdit" agent("attachedtext").value="Agent Name:" Set pwd = description.Create() pwd("nativeclass").value="WinEdit" pwd("attachedtext").value="Password" Set button = description.Create() button("nativeclass").value="WinButton" button("Text").value="OK" Dialog("flightres").WinEdit("agent").Set "test" Dialog("flightres").WinEdit("pwd").Set "mercury" Dialog("flightres").WinButton("button").Click Please let me know if i made any mistake in the above script...?
what is the difference between development and testing
Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?
How to Run a Test using QTP?
How should I check my code( Before going to execute) without executing the script in QTP
str="QTP AUTOMATION TESTING" here how many T are there in the str finally i want to display the T
The hybrid framework can be implemented for any application. Is it true?