| || |
Can anyone clarify me a problem iam facing in DO_VerifyDocTitle?
Iam having 4 HTTP pages
HTTP Page1 - Login
HTTP Page2 - Search
HTTP Page3 - Processing Message Display Screen
HTTP Page4 - Result Screen
In the above 4 Http page when i do this verify document title, it passes for the Login Page, Search Page. It will display the 3rd page Processing Records during the search process. And once when i get records i receive the result screen 4th Page.
Problem where i encounter is
Sometimes search may process early and it displays no records in Result screen, at this time QA Load expects the 3rd page document title "Processing Records" and it fails.
ERROR it displays RRFAILEDMSG: Line 10: In DO_VerifyDocTitle()-Verification failed: "Processing Message" was received.
Is there anyway to overcome this problem. Iam not able to give even the DO_SLEEP command as the time might vary for each and every search criteria. Can anyone help me ?
If you the result screen is returned, its not relevant if you are getting the Processing screen message or not right? So I would comment out the Do_VerifyDoc for 'processing screen' all together... the more important thing is that the Result Screen is validated.
THanks for your immediate message reply.
Even if i comment the DO_VerifyDocTitle for Processing screen message, next DO_VerifyDOcTitle for result screen would validate/verify and say Processing Message is received instead of Result screen.
In either way, i think have to loop on the Verifydoctitle for Processing Message (something like While/For) and move to result screen accordingly. But iam not sure how this can be achieved.
Awaiting for ur reply,
Thanks & Cheers VP