Search found 5 matches

by anas
Thu May 16, 2013 7:09 pm
Forum: Automation API
Topic: XPath depends on 32/64 bits
Replies: 2
Views: 2303

Re: XPath depends on 32/64 bits

thanks Markus for your help
i removed class name form Xpath and it works now
regards,
anas
by anas
Thu May 16, 2013 7:03 pm
Forum: Automation API
Topic: .GetPath() returns different strings
Replies: 4
Views: 2919

Re: .GetPath() returns different strings

hi Ciege
thanks for your help
I checked and it was my mistake
indeed in between there were windows opened and additional information was added to the title
thats why as was noted by you before "- ..." was added
thanks,
anas
by anas
Tue May 14, 2013 5:14 pm
Forum: Automation API
Topic: .GetPath() returns different strings
Replies: 4
Views: 2919

Re: .GetPath() returns different strings

thanks Alex
I am not exactly sure what do you mean
it is the same application within the same program
why it returns different values - what changes between this function called first time and a few lines below?
thanks,
anas
by anas
Sun May 12, 2013 6:45 pm
Forum: Automation API
Topic: .GetPath() returns different strings
Replies: 4
Views: 2919

.GetPath() returns different strings

Hello just wonder why the same function returns different values depending on where in the code it is used Form MainWindowForm = Host.Local.GetApplicationForm(MyProcess, 120000); ... String path=MainWindowForm.GetPath().ToString(); .... String path1=MainWindowForm.GetPath().ToString(); in first case...
by anas
Sun May 12, 2013 6:31 pm
Forum: Automation API
Topic: XPath depends on 32/64 bits
Replies: 2
Views: 2303

XPath depends on 32/64 bits

Hello I just wonder if Xpath depends on the OS system and in particular on if it is 32 or 64 bits? in my case the same element appears in 64 bits W7 as .../element[@controlid='59419' and @class='Afx:DockPane:40000000:8:10003:10' and @instance='0']/element[@controlid='59412']/rawtext[@rawtext='abc'] ...