Give one example of Standard checkpoint in qtp 10?
Answer / nilanjan saha
Standard Checkpoint:
It checks Object Property values.we can use checkpoint to
check any property value.
Standard checkpoint also contains Text Checkponit, Image
Checkpoint and Webtable checkpoint.
Go to recording mode--> Insrt--> Checkpoint> Standard
Checkpoint(F12)
Check the property on which you want to provide Checkpoint.
Then Stop recording.
e.g:
Browser("Intelex v5").Page("Intelex
v5").Frame("navbar").WebElement("Document Control:").Check
CheckPoint("Document Control:")
Above checkponits checks that Html tag is SPAN and inner
text is " Document Control: "
Regards,
Nilanjan
| Is This Answer Correct ? | 0 Yes | 0 No |
if full in Object Repostoiory then how to load other Object Repository
Is it possible to call from one action to another action in qtp?
how to write script in qtp(vbscript)..i mean with out application deployed..and how to call script1 into script2?
How we can add actions in the test using QTP?
While writing script using For Next Statement in QTP, I try defining the variable in Lib File I am getting syntax error whereas if I use the variable in script file, the script works fine. Can anyone help me in finding the reason behind this?. E:g Dim intStartRow (Define in Lib File----- say abc.vbs) Dim intRow (If I define this variable in Lib file I am getting Syntax error where as if I define in the script file ---- say xyz.mts the script works fine) IntStartRow=2 For intRow = intStartRow to xlWrksht.UsedRange.Rows.Count ‘Some Code here Next
suppose u have two send buttons(same width,height,font) on an application write a descriptive programming
What is regular expression?
Hi, I have a login page. To login in that page I need to have a valid username and password, which is stored in database. I imported that table to my DataTable in QTP (Global sheet). Now I need to write a code in qtp so that I can login only with valid username and data. my condition is : I want to get username and password from inputbox(which i did) and click on login button- which should verify the datatable for username and password and if value is present only then lofin else stop the testing. DataTable contains columns : LoginName and Password Code: Rowcount= DataTable.GetSheet("Global").GetRowCount msgbox "RowCount= " &RowCount,1 CurrentRow= DataTable.SetCurrentRow(1) Do Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$UserName$ctl").Set DataTable("LoginName",1) Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$Password$ctl").Set DataTable("Password",1) Browser("").Page("").Frame("Frame").Link("Login").Cli ck CurrentRow=CurrentRow+1 Loop Until CurrentRow>Rowcount Can anyone help? Thanks, Priya
How can we import a Open Office excel file in QTP
Actually what is Quality center..is it Test Director or some other tool..Anybody can expalain it in detail..Thanks in advance..
Hi, this is venkatesh. Q: I have 10 files in a folder(say D:\). Out of which there are some .txt, .xls, .doc. I want to know how to get the count of each file using qtp? If U have any ans, plz write script for that...
What is OUTPUT VALUE ? PLZ Explain With Example?