Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP 11 - GetVisibleText not getting text correctly in windows7 from Activex
#1
Not Solved
Hi,

We used getvisibletext to get the actual text displayed in Activex object in application. We could not use GetROProperty as we do not have any other property that has the required text.
Script gets the required text when run on Windows XP correctly.
But, when executed on Windows 7, it returns part of text in lower case and also it returns some junk value.
I know GetVisibleText is dependent on OS.
But still, if there is any workaround or any other way to get the text from application, please let me know.

Application displays the below text
"800849 NOLE,MANDI DOB 01/01/1995 (19Y) sex F ABO/Rh A POS RC Units Transf 10 LastTransf 12/15/1994 HID HID1"
But GetVisibleText on windows 7 is getting the below text
"800849 NOLE,MANDI dob 01/01/1995 (19Y) sex f ABO/Rh A POS RC Units Transf 10 ^##`@ LastTransf 12/15/1994 HID HID1"

In Windows 7 UAC is disabled.

If there is any workaround, please let me know.

Thanks and Regards,
Pallavi
Reply


Messages In This Thread
QTP 11 - GetVisibleText not getting text correctly in windows7 from Activex - by Pallavi - 03-12-2014, 05:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  ActiveX component can't create object: 'JavaWindow' JayeshK 0 1,729 01-07-2021, 01:12 PM
Last Post: JayeshK
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 4,907 09-13-2015, 12:06 AM
Last Post: ADITI1992
Exclamation URGENT: ActiveX component can't create object citibank_ani 3 15,560 09-09-2014, 01:02 PM
Last Post: VarunKaushik
  qtp 11 not supporting activex addin excellentpawan 0 1,865 02-26-2014, 10:17 PM
Last Post: excellentpawan
  I am trying to extract text from a webelement but it is generating blank text scenari excellentpawan 2 4,675 08-13-2013, 08:37 PM
Last Post: excellentpawan

Forum Jump:


Users browsing this thread: 1 Guest(s)