cancel
Showing results for 
Search instead for 
Did you mean: 

Some links are not clicked when automated through NativeWebObject in Version 7.5.2

Highlighted
Occasional Contributor

Some links are not clicked when automated through NativeWebObject in Version 7.5.2

Some links are not clicked when automated through NativeWebObject in Version 7.5.2

But it was working fine with the version 6.0





Code:


Set no_thanks_link = w1.NativeWebObject.Find("href","*onlinema/nothanks-edit.act?*","A")


no_thanks_link.Click()





Result:



Link is not clicked and we are getting the following message in Logs:



Type Message Time Link

The window was clicked with the left mouse button. 2:09:43 



Remarks:

A click at point (63, 21) with no key pressed.


Sys.Process("iexplore").Page("https://www.feitest.com/maenroll/webenrollment-edit.act?t=8138107072251292545509704&s=Tst6b585f8f2c5...")



But some other links are clicked through the following code.



P.S: we are not able to click these links even through DOM

2 REPLIES 2
Highlighted

RE: Some links are not clicked when automated through NativeWebObject in Version 7.5.2

Hi Mohit,


Try using the Refresh method before calling the NativeWebObject.Find method (see the "Refresh Method" article). If the problem persists, let me know what browser you are using (its name and version). Besides that, could you please save your tested page to the MHT format and send it to me via our Contact Support form? I will try to reproduce the problem on our side.


Best regards,
Alexey

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Highlighted
Occasional Contributor

RE: Some links are not clicked when automated through NativeWebObject in Version 7.5.2

Hi Allen,



The problem persists even after using the Refresh method.



Browser: Internet explorer

Version: 7.0.5730.13



Actually i'm not provide you with the MHT file due to some security issues. I'm working with my team, that how to reproduce it to you.
New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
Let's start July with new challenges!

Create a script to pass custom command-line arguments as a test parameter for the TechCorner tag!

Will you dare to take the challenge?


Top Kudoed Authors