Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SwfToolbar and ItemExists with costant or directly string
#1
Solved: 9 Years, 4 Weeks ago
Hi,
i not found where is the error in following lines:
Code:
str = datatable.Value("menuStrip1_File1","Step 1")
menuItemChildOfFile1 = SwfWindow("MicAnalytics").SwfToolbar("menuStrip1").ItemExists(str)
    
menuItemChildOfFile2 = SwfWindow("MicAnalytics").SwfToolbar("menuStrip1").ItemExists("File;New...")

In watch tool, I see that str is equals to "File;New..."

But:
- menuItemChildOfFile1 is equals to False
- menuItemChildOfFile2 is equals to True

Why?

Thanks.
Reply
#2
Solved: 9 Years, 4 Weeks ago
Hi,
I resolved.

My problem was about a cell format of my .xls file.

Thanks a lot!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [UFT] SwfToolbar > error for to get the text robertosalemi 0 1,999 02-03-2016, 07:53 PM
Last Post: robertosalemi
  SwfToolbar and WaitProperty: how get text robertosalemi 0 1,908 12-14-2015, 08:22 PM
Last Post: robertosalemi
  Replace a string in a word document with another string rekha.naik 8 15,578 11-14-2013, 12:58 PM
Last Post: pranikgarg
  QTP 9.5 - Unable to select an object directly from an application jsdaubs 1 2,995 01-30-2012, 10:19 AM
Last Post: rajpes
  Code for saving QTP script in to QC directly SNR 1 2,197 11-15-2009, 01:33 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)