UFT 12.51 not recognizing url or saving it WinEdit vs WebEdit
Question ID: 106656
1
0

When recording a script in I.E. v11 with UFT 12.51 & UFT 12.51 Patch 1, with .net and web selected as add ins, and selecting to run on any webbrowser, recording for a home page (say LFGs) then selecting the url box and typing in Google and a search phrase (example test) script does not record or write to the action 1 tab as expected.

example of script

Browser("Google").Page("Google").WebEdit("Search").Set "test uft url"

expected

Window("Windows Internet Explorer").WinEdit("Edit").SetSelection 0,78
Window("Windows Internet Explorer").WinEdit("Edit").Set "www.google.com"
Window("Windows Internet Explorer").WinEdit("Edit").Type micReturn
Browser("Google").Page("Google").WebEdit("Search").Set "test url"

both the scripts above where done on the same machine with same version, difference is expected was recorded 1st launch of UFT after browser was already open (after a reboot)
2nd was doing the exact same thing after the expected results trying to replicate. Replicated this issue after end user reported it.

Marked as spam
Posted by (Questions: 424, Answers: 91)
Asked on January 29, 2016 2:18 pm
81 views
Answers (1)
1
Private answer

When using the Web Add-in, you must always open UFT before opening your web browser/application (reference UFT Help > Use UFT Add-ins > Web Add-in > Web Add-in - Quick Reference > Prerequisites > Opening Your Application). Otherwise, the Web Add-in ''hooks'' (BHO for IE, testing agent extentions for Firefox/Chrome, etc.) won't work.

Marked as spam
Posted by (Questions: 0, Answers: 771)
Answered on January 29, 2016 2:18 pm
0
My explanation could have been better, at quick glance expected the script to display the full url, in default recording like it does in low level recording, but when I went into the script the user said was working as expected they used system utilities, for the url to display. Think some of this is not wanting to migrate to 12.5x .. thanks
( at January 29, 2016 2:19 pm)
EyeOnTesting

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

X
Scroll to Top