Forum Discussion
jyothi_kumari
10 years agoNew Contributor
Hi Tanya,
I have few more queries, please find them below.
1. Since we have many scripts, we need to call "PerformClick" asynchronously in all places where we find this issue. So could you please let me know if there are any project level properties which can be set to handle/identify the modal windows which may appear on call to "PerformClick" method?
2. I am unable to access the object and call click method on the object. Object class is WindowsForms10.Window.8.app.0.ea7f4a_r13_ad1. I am trying to use the object as "Set object = Toolbar.Items.Item_2(index)" and then trying to call "object.Click", but it is not working. Please let me know if I am missing something in the way I am trying to access the object.
3. In the example given in the article http://support.smartbear.com/viewarticle/8922/ (How can I close a modal dialog which was invoked by a method called from a script?), code checks for the "ResObject.Completed" status and logs messages accordingly. So when we call Runner.CallObjectMethodAsync() method is it necessary to check for the completed status of method called asynchronously or can we proceed with script execution without making this check. Please let me know the importance of checking completed status in result object.
Could you please help me finding answers for these queries.
Thanks,
Jyothi
I have few more queries, please find them below.
1. Since we have many scripts, we need to call "PerformClick" asynchronously in all places where we find this issue. So could you please let me know if there are any project level properties which can be set to handle/identify the modal windows which may appear on call to "PerformClick" method?
2. I am unable to access the object and call click method on the object. Object class is WindowsForms10.Window.8.app.0.ea7f4a_r13_ad1. I am trying to use the object as "Set object = Toolbar.Items.Item_2(index)" and then trying to call "object.Click", but it is not working. Please let me know if I am missing something in the way I am trying to access the object.
3. In the example given in the article http://support.smartbear.com/viewarticle/8922/ (How can I close a modal dialog which was invoked by a method called from a script?), code checks for the "ResObject.Completed" status and logs messages accordingly. So when we call Runner.CallObjectMethodAsync() method is it necessary to check for the completed status of method called asynchronously or can we proceed with script execution without making this check. Please let me know the importance of checking completed status in result object.
Could you please help me finding answers for these queries.
Thanks,
Jyothi