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.
Answer Posted / naina
Browser(miclass).page(“title:=^[a-z]+@[a-z]+\.[a-z]{2-3}”).
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
explain structured testing? plz guys with exp. do answer
if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp
How to modify object property in qtp ?
What are the different attribute used with regular expression?
How to create runtime property for an object?
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks
How to find the name of the machine where you are running your automation scripts in qtp?
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing
How to use output values in qtp ?
Describe synchronization point.
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
wht type of User defined functions or Java Releated functions Do we write in VB scripting
How does QTP identify an object?