How can we insert Text check point and Bit map check point ? if provide example script, it is greatefull

Showing Answers 1 - 4 of 4 Answers

satish

  • Jul 14th, 2006
 

To insert Text Check point we have two ways 1.While Recording  2.After Recording

1.While recording Insert->Checkpoint->Text Checkpoint is activated

For Example lets work on mercury tours site:We want to check whether the date exists on the page using text check point.While recording click on the Text Check point and then go for the place where you need to check the text on the site.Our Example displays the following code after clicking OK on the dialog box that appears.

Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Check CheckPoint("Jul 13, 2006")

2.The same thing can be done after recording.Go to the Active screen and select the text and Right-Click to Insert Text Checkpoint where the same code appears

This is same thing with Insert Bitmap Checkpoint by above two ways

Insert->Checkpoint->Bitmap Checkpoint

Click on the image which you need to check

Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").Image("boxad1").Check CheckPoint("boxad1")

  Was this answer useful?  Yes

chanakya

  • Jul 30th, 2006
 

Now that we know how to add the check points..lets talk aboot when each are useful. Text checkpoints can be used when we want to verify some displayed text.. For example...I want to verify that my name appears on this web page..I will insert a text checkpoint. Bitmap check points are not used very often. we can use them for verifying the properties of bitmaps/pictures...

I heard from one analyst ( Test analyst)...they use a lot of Bit map checkpoints..Guess what..the software they are testing is for poloroid pictures or for cameras....and they want to test that the output which are pictures are not changing in resolution and stuff like that.

  Was this answer useful?  Yes

Rajiv

  • Jul 31st, 2006
 

Text check point is inserted to check static data in the page but for checking dynamic data like Date we can't use Text Check point.

  Was this answer useful?  Yes

sudhakar2068

  • Oct 23rd, 2006
 

To insert Text Check point we have two ways 1.While Recording  2.After Recording

1.While recording Insert->Checkpoint->Text Checkpoint is activated

For Example lets work on mercury tours site:We want to check whether the date exists on the page using text check point.While recording click on the Text Check point and then go for the place where you need to check the text on the site.Our Example displays the following code after clicking OK on the dialog box that appears.

Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Check CheckPoint("Jul 13, 2006")

2.The same thing can be done after recording.Go to the Active screen and select the text and Right-Click to Insert Text Checkpoint where the same code appears

This is same thing with Insert Bitmap Checkpoint by above two ways

Insert->Checkpoint->Bitmap Checkpoint

Click on the image which you need to check

Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").Image("boxad1").Check CheckPoint("boxad1")

sudhakar kolla,

My email:kollasudhakar2005@yahoo.co.in.

My number:09819859346


 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions