1)Win32::IEAutomation not working with "button" tags
Solution:
Copy exists getButton function and create a new function like get ButtonButtonTag and modify below mentioned line in your new function:
"my $buttons = $agent->Document->all->tags("input");"
changed to
"my $buttons = $agent->Document->all->tags("button"); "
Now you can use getButtonButtonTag function for "button" tag.
Like "getButtonButtonTag('class:',"getButton");"
Note: Don't modify your exists functions because it may be effect your exists scripts.
Solution:
Copy exists getButton function and create a new function like get ButtonButtonTag and modify below mentioned line in your new function:
"my $buttons = $agent->Document->all->tags("input");"
changed to
"my $buttons = $agent->Document->all->tags("button"); "
Now you can use getButtonButtonTag function for "button" tag.
Like "getButtonButtonTag('class:',"getButton");"
Note: Don't modify your exists functions because it may be effect your exists scripts.
Thank you ver much for this useful information.
ReplyDelete