I have application it is one digital clock with all minutes
and seconds. you have to identify the time to verify weather
the time displayed is correct time or not?
How do you automate this scenario?
Answers were Sorted based on User's Feedback
Answer / prathyusha
By using Time() funtion we can retrieve system time. BY
finding the difference between the displayed time and
retrieved time using the fucntion, we can verify whether
the time displayed is correct time or not.
Syntax:
strTime = Time()
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / dmitry
I suppose Tick event should be fired in order capture same
time that timer application
In this case comparing will be more exact
| Is This Answer Correct ? | 1 Yes | 1 No |
hi,i have a pblm in qtp,im testing an webappl in which different types of error pop up messages are displayed which qtp is not differentiating or it is not recognising. how do i make it recognise different popup errorm messages while writing script?
how u track bugs using Test director in manual testing.
How to integrate the qualitycenter with qtp
Hi, Can anyone write the following qtp script...please its urgent ·Navigate to Google in a new IE instance ·Search for the following word "Gap, Inc." ·Iterate thought the first 10 pages of google ·On each page collect the following ·The "blue" page title ·The "green" url ·Output all the data into a file named "test_output.txt" ·Format "Title – URL"
What is the difference between a Function and Action in QTP?
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
Suppose one object is changed in a project after delivering the project.Where we will update that object? it can be present in many scripts so can we update all the scripts?
Explain the difference between data driven testing and parameterization ?
how quick test record on dynamically generated urls and web pages.
In qtp, how you can remove the spaces from string?
what is QTP batch testing tool?
How to get line numbers in your editor in expert view?