hard reading variable - 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: hard reading variable (/Thread-hard-reading-variable) |
hard reading variable - stevol - 06-03-2008 Hi, in the following code: Code: Dim brow, pag, webuser, webpwd, loginlink, weblogin, dial1, winbutt1 when I run the code, for the last 2 objects there is a reading much slow of the objects in comparison with the others. Is there an explanation about this? thanks for every suggestion Edit: Please format your code, I have done it for you this time. You can use # button on top, while posting a new message -- Ankur RE: hard reading variable - Ankur - 06-03-2008 As I have mentioned earlier, DP at times is slower than OR method...check out earlier threads for more info. RE: hard reading variable - Anshoo Arora - 06-04-2008 But, what are you running? All I see there are some object references. That code will not perform any action on your AUT. See if this helps: Code: Set oBrowser = Browser("micclass:=browser") Try to use only the properties that are enough to uniquely identify the object. Also, while you at it, can you double check the WinButton's text property again? RE: hard reading variable - stevol - 06-05-2008 hi, thanks for suggestion, but the reading speed during the run is the same (howewer, no problem... it was only a curiosity) |