Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to add check point?

Answer Posted / imran sheikh

Above posted answer is correct but I believe in going with
self created checkpoint because, che3ckpoint depend upon
previous and after value of particular test (Text
checkpoint). eg. My name is Imran. here, if you want to put
checkpoint on 'name'. So, it depend upon 'My' as Text
before and 'is Imran' as Text after. If next day line
changes to 'My name is Raj', then this checkpoint will fail
because 'Raj' is wrong test as Text after.
I faced this scenario so used self-made checkpoint. I ll
tell you if you find it useful.
1. Add the requied text 'name' in OR as webelement or any
object.
2. It has description property as innertext and html tag.
Remove innertext property and add any unique property by
clicking on + button, may be 'class' or so.
3. write code in expert view:
chkpt = Browser("myBrow").Page("myPage").WebElement
("name").GetROProperty("innertext")
If InStr(1,chkpt,"name")>0 Then
Reporter.ReportEvent micPass,"Check Name","CheckName Pass"
Else
Reporter.ReportEvent micPass,"Check Name","CheckName Fail"
End If

Thanks
Imran

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Should have experience in framework means?

1838


Describe function procedure in vbscript.

1058


What is action? How many types of actions are there in qtp?

1040


How QTP support all types of applications (platforms)?

4462


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

1863


1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP

1908


Why bpt?

990


How to record application running on the Virtual machine?

1031


Whether qtp 9.0 supports Test director8.0

2523


I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...

2139


Explain the parameter in qtp?

989


What are the different attribute used with regular expression?

912


can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1714


What is difference between design time and run time data table?

1076


How can you identify the browser and its information using the qtp script?

946