Forum Discussion
6 Replies
- tristaanogreEsteemed Contributor
Can you share your code that you have specifically that generates the error? Not just the clickitem line, but everything leading up to it.
There is, technically, no difference on that method for VBScript versus JavaScript so this probably means it has something to do with your implementation. But we won't know until we see the code.
- sharma2prateekOccasional ContributorSys.process('aa').winformsobject('bb'). winformsobject ('navgatio').ClickItem('fruit', 'apple')
This is the whole code,in vbscript project same code is working but in JavaScript project it's not working actually those are developer express controls in that we need to work with witems property, collapse and expand method working fine- tristaanogreEsteemed Contributor
So, your application is called "aa" with a form called "bb" and you're specifically testing an application that selects "fruit"?
That's what I mean... i'd like to see, if possible the ACTUAL code you're executing to see syntax, context, etc., of how it is implemented in your test. It could be that how you're attempting to implement in JavaScript is doing something that is "illegal" in JavaScript, causing your issue.
Please provide, if possible, "real" code and we'll see what we can do.
Related Content
- 2 years agotorus
- 2 years agodavid-beltran
Recent Discussions
- 6 hours agoSvetaG