UFT Issue / Inconsistent Replaying Script
Tags:
Question ID: 106042
1
0

I am recording against a new web app and am having Issues / Inconsistent Replaying Scripts. I record Domain/UserName/PW during replay the entries are sometimes entered and sometimes skipped. The results indicate the data was entered but are not. I can run it one time and Domain and PW get entered and the next time on the PW gets entered. After entering the values the script clicks go or enter and it seems to always work, which causes an error in login.

I have checked the OR and can always find the objects and even added additional properties to help. I added wait statements to slow it down but still have issues. I also re-recorded.

Any thoughts?

Marked as spam
Posted by (Questions: 424, Answers: 91)
Asked on April 28, 2015 3:10 pm
40 views
Answers (1)
1
Private answer

Try changing to ReplayType = Mouse.

If that doesn't work, you might want to see if adding .Click methods onto the end of the object might ''activate it'' before input. Just copy the existing lines that are WebEdits, like the below example:

**Original:

Browser(''Test'').Page(''One'').WebEdit(''Name'').Set ''joe''

**Add .Click method like this:

Browser(''Test'').Page(''One'').WebEdit(''Name'').Click
Browser(''Test'').Page(''One'').WebEdit(''Name'').Set ''joe''

Marked as spam
Posted by (Questions: 0, Answers: 771)
Answered on April 28, 2015 3:10 pm
0
Changing to **ReplayType = Mouse** did the trick!
( at April 28, 2015 3:11 pm)
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top