Quality Testing

Quality is delighting customers


Hi All,


I record one script with open browser (i.e it having 10 text boxes) with all data then i stop recording and run the script, while running the script the cursor not moving 5th text box to 6th how can handle this type of Error (Here Script is fine)?


plz give me your answers


Thanks&Regards
Md.Basha

Views: 4

Reply to This

Replies to This Discussion

Kindly post the script if possible, as your description has no clues!
Hi,

I did't know about this In GENPACT(PM Round) they asked.


For Example
Browser("browser).Page("page").webedit("editbox1").set ("abc")
Browser("browser).Page("page").webedit("editbox2").set ("def")
Browser("browser).Page("page").webedit("editbox3").set ("ghi")
Browser("browser).Page("page").webedit("editbox4").set ("jkl")
...
....
...
upto 10 edit boxes

while executing the script the cursor is not moving 5th edit box to 6th how can i handle this error he asked to me.

Thanks to ur reply

Thanks&Regards
Basha
Better to move urself instead of cursor.Dont post irrelevent queries with assumptions.
Hi Sridhar,

It is not my assumption it is asked in GENPACT (P.M Round)

Thanks to ur suggestion

Thanks&Regards
Basha
It may be a timing issue between 5th and 6th text box.
I am just wondering why did folks above replied this query so hopelessly!
This query is very much valid, only words may be little here and there....

Anyways...

Hi Basha,
Reasons may be out of following;
1. The object property which is used in script(id,name etc...)of the edit / text box is changed.
Remedy for above is to spy the edit box again and see that property is changed or not. If changed then incorporate those changes in your script.
2. Synchronization problem could be there while identifying the object.
Remedy here is to include either wait or sync or WaitProperty functionality of qtp. see qtp help for syntax.
3. May be the object is removed from the page, so qtp wont be able to find it later from its properties.
Remedy here is to check the existence of every text / edit box before you set any value in it.

I hope your query is answered upto your satisfaction. If still have doubts, let me know!

Thanks,
Shirish
The line which is not moving after 5th could have the iteration problem. In qtp tool we do have iteration to to row , could u pls check to all iteration .

RSS

TTWT Magazine

Webinar

You Can


Call for Articles

Advertisement

Videos

  • Add Videos
  • View All

Badge

Loading…

© 2012   Created by Quality Testing.

Badges  |  Report an Issue  |  Terms of Service