Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check point..
#1
Not Solved
Hi,
In my application i am using a checkpoint to check an error message. and i am returning the value of the checkpoint whether it is true or false.
If it is true i have to repeat the same step else EXIT.
Now my problem is each and every time the error message is different.(even though the message is different value returned by the checkpoint should be TRUE).
Possible errormessages are: Username Must be Minimum 4 Characters Long ,Username already exist,Username name1 already exist....
I tried with regular expression.
The script is given below.
Code:
val=Browser("abcd").Page("xyz").WebElement("Username.*").Check (CheckPoint("Username.*"))

Thanks and Regards.
Sherin.
Reply


Messages In This Thread
Check point.. - by sherinvg - 04-01-2008, 01:09 PM
RE: Check point.. - by niranjan - 04-05-2008, 01:24 AM
RE: Check point.. - by sherinvg - 04-07-2008, 10:32 AM
RE: Check point.. - by niranjan - 04-07-2008, 07:29 PM
RE: Check point.. - by sherinvg - 04-15-2008, 09:49 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP standard check point Error? Ramadas 0 2,285 10-31-2013, 01:23 PM
Last Post: Ramadas
  Synchronization point vasanthibv@gmail.com 2 3,499 08-08-2012, 05:54 PM
Last Post: pradeep singh
  Synchronization point vasanthibv@gmail.com 2 3,130 08-07-2012, 03:26 PM
Last Post: Tarik Sheth
  synchronization point balatester 4 17,868 01-18-2012, 02:57 PM
Last Post: zeeshanyshaikh
  Not able to see the Check point properties window Uma 1 2,379 10-27-2011, 08:48 PM
Last Post: ravi.gajul

Forum Jump:


Users browsing this thread: 1 Guest(s)