Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Having problem with Verification
#1
Solved: 11 Years, 4 Months, 3 Weeks ago
Req: I need to search customer with first and last name. In return result will be (Last Name Coma Space FirstName). I wrote the follwoing code

Code:
If str_TestCaseId="TC007_PolicySearch_By_FirstAndLastName"  Then
GetReturnedName=Browser(".").Page(".").WebElement(".").GetROProperty("innerhtml")
ReturnedNameFormat= str_LastName&","&" "&str_FirstName

If GetReturnedName=ReturnedNameFormat  Then
Reporter.ReportEvent micPass, "Search returned  proper format of insured name by searching First and last name",""
Reporter.ReportEvent micFail,"Search did not return  proper format of insured name by searching First and last name", ""
End If
End If

As always I belive this forum is the best place to get the solution
Reply


Messages In This Thread
Having problem with Verification - by qapandit - 07-24-2013, 11:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  XML Verification naani12 0 1,924 08-01-2012, 07:38 AM
Last Post: naani12
Shy Email Verification using QTP Brian T. 0 5,608 05-10-2011, 11:42 PM
Last Post: Brian T.

Forum Jump:


Users browsing this thread: 1 Guest(s)