UFT Unable to Click on Buttons and Fails to enter data into text box
Question ID: 108815
0
0

While running the UFT scripts in a Virtual machine running on Windows server 2016, UFT is randomly failing to click on buttons and entering data in text box. This is happening when the window is maximized in the remote machine. this issue is happening randomly, we have recorded 5 out of 9 runs had the failure due to unable to click the button. This issue is a blocker for us in running our automation suite and we need an urgent remediation.

Marked as spam
Posted by (Questions: 227, Answers: 22)
Asked on January 28, 2019 4:29 pm
401 views
Answers (1)
0
Private answer

A couple of things I would try is to insert a Wait 5 statement before the step that clicks on the button. If this doesn't work, you can try a small loop that will wait for the object before clicking on it. Please modify the exist line to match the button object:

Flag=0
Do Until Flag=1
If ..Exist (5) = True Then
Flag=1
End If
Loop

Please give those two options a try and let me know if you still have issues.

Marked as spam
Posted by (Questions: 2, Answers: 477)
Answered on January 28, 2019 4:30 pm
EyeOnTesting

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

X
Scroll to Top