Forum Discussion
YMinaev
14 years agoStaff
Hi,
NativeWebObject.click is a native method assigned to some web objects. The regular Click method is added by TC to all on-screen objects. If you use NativeWebObject.click, your test may 'hang' in several cases - the most common one is when a click opens a modal dialog which causes a lock-up.
To avoid problems, either call NativeWebObject.click asynchronously (see the "Calling Methods Asynchronously" help topic), or call the target object's scrollIntoView method before using the regular Click method.
NativeWebObject.click is a native method assigned to some web objects. The regular Click method is added by TC to all on-screen objects. If you use NativeWebObject.click, your test may 'hang' in several cases - the most common one is when a click opens a modal dialog which causes a lock-up.
To avoid problems, either call NativeWebObject.click asynchronously (see the "Calling Methods Asynchronously" help topic), or call the target object's scrollIntoView method before using the regular Click method.
Related Content
- 4 years agonitingambhir88
Recent Discussions
- 3 days agovladd1