Unable to identify WebEdit Obj - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Unable to identify WebEdit Obj (/Thread-Unable-to-identify-WebEdit-Obj) |
Unable to identify WebEdit Obj - drewTP1 - 01-12-2010 Hi Everyone. I am getting the following error: "Cannot identify the object "[ WebEdit ]" (of class WebEdit). Verify that this object's properties match an object currently displayed in your application." This code works perfectly fine EXCEPT when webeditname = some value with parenthesis in them. For Ex: Key_Name_(Last)_1 This code is able to identify that the object's name exists in the spreadsheet (1st row), in this case Key_Name_(Last)_1, however, when it enters the IF statement and tries to .Set the value taken from the spreadsheet (2nd row) I get the error. Any ideas?? The piece of code I'm having trouble with is below: Code: For i = startpoint To co.Count-1 please disregard the two lines as i was trying different solutions and forgot to edit them out. thanks. Trim(webeditname) webeditname = Trim(webeditname) RE: Unable to identify WebEdit Obj - satan - 01-13-2010 hi.. try "Key_Name_\(Last\)_1" as webedit name in ur data sheet RE: Unable to identify WebEdit Obj - drewTP1 - 01-13-2010 worked perfectly! thanks! |