How to Test Dynamic links ?
Answers were Sorted based on User's Feedback
Answer / veeranki naveen goud
Dyanamic links can be handled by Child Objects concepts as
well.
set dynlink = description.create ()
dynlink ("mic class").value = "Link"
dynlink ("name").value = ".*"
dynlink ("name").RegularExpression = True
set linkcol = Browser("x").Page("x").childobjects(dynlink)
linkcol(index number)
Regards,
Veeranki Naveen,
Noida.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mercy
Dynamic links can be tested using Descriptive Programming
or using regular expressions when you are sure of the
pattern of the link.
| Is This Answer Correct ? | 0 Yes | 3 No |
Answer / brahma
Using regular expression we can test the dynamic links
| Is This Answer Correct ? | 0 Yes | 5 No |
How we can add actions in the test using QTP?
how can we perform web datatable operations on webpages(Like rowcount,col count,cell data)?
How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If
During execution, how can we capture the data from the pop- up, ie. when any popup comes with some numbers written on it, then how can we capture the value/number that is coming on the pop-up and save in the dynamic file/or other file, even when the run is going on.
In automation testing Can we retest virtual object in the application after getting new version from the developers, is there any property will change for that object or it won't.?
write is the code for regular expression in QTP
In Descriptive programing if i use this below code will it work for login window or flight Res Window. Shud i add the properties like attached text=login and text=Agent Name in the object repository and define a new object first. Pls tell me the procedure in clear inorder to execute this script. Dialog("title:=Login").WinEdit("attached text:=Agent Name:").set"agent123" Dialog("title:=Login").WinEdit("attached text:=Password:").set"mercury" Dialog("attached text:=Login").winbutton("text:=OK").click
wht type of User defined functions or Java Releated functions Do we write in VB scripting
How to save your test using quicktest professional?
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
some times we write user define functions.where we write main and sub program,how,where to insert the functions in qtp?
After creating testcases, how do you start testing in QTP? what methodology will follow?
7 Answers Actran, American Well,