05-30-2019, 11:20 AM
(This post was last modified: 05-30-2019, 11:25 AM by firozkannur.)
Hi All,
I am scripting for an application for the last 6 months. Yesterday application UI is changed, hence earlier objects are not detecting.
So I would like to know if any short cuts are there to run the earlier code.
Here is the example..
Set oParent=SwfWindow("swfname:=KTPWICP")
oParent.SwfObject("swfname:=KTPWICP_Fill_Panel").SwfButton("swfname:=btnUsers").Click
This was the code which I have written and was running smoothly. But after UI change code need to change as follows.
Set oParent=SwfWindow("swfname:=KTPWICP")
oParent.SwfObject("swfname:=KTPWICP").SwfButton("swfname:=buttonUsers").Click
Many actions are there, so it is very difficult to change all the scripts manually.. so is it any short cuts are there to run the application with already written code. ??
Thanks in Advance,
Firoz
I am scripting for an application for the last 6 months. Yesterday application UI is changed, hence earlier objects are not detecting.
So I would like to know if any short cuts are there to run the earlier code.
Here is the example..
Set oParent=SwfWindow("swfname:=KTPWICP")
oParent.SwfObject("swfname:=KTPWICP_Fill_Panel").SwfButton("swfname:=btnUsers").Click
This was the code which I have written and was running smoothly. But after UI change code need to change as follows.
Set oParent=SwfWindow("swfname:=KTPWICP")
oParent.SwfObject("swfname:=KTPWICP").SwfButton("swfname:=buttonUsers").Click
Many actions are there, so it is very difficult to change all the scripts manually.. so is it any short cuts are there to run the application with already written code. ??
Thanks in Advance,
Firoz