KAPOW

Welcome to the Kapow forum. Here you can get help, use your skills to help others and enjoy hanging out in the company of other Kapow Robot Developers.


Try step in Device Automation

Share
avatar
Suren

Posts : 22
Points : 368
Join date : 2018-03-28

Try step in Device Automation

Post by Suren on Sun 1 Jul 2018 - 16:04

I am trying to find the try step option on Device Automation. Please give some ideas on try steps and conditional steps.  Thanks
pavel.vraj
pavel.vraj

Posts : 86
Points : 932
Join date : 2016-11-04
Location : Prague, Czech Republic

Re: Try step in Device Automation

Post by pavel.vraj on Thu 19 Jul 2018 - 15:36

Hi,
there is very detailed explanation in help (User's guide) with screenshots and predefined Exceptions. You should read it and it will give you very good overview.
BR, Pavel Vraj
avatar
Suren

Posts : 22
Points : 368
Join date : 2018-03-28

Re: Try step in Device Automation

Post by Suren on Fri 20 Jul 2018 - 19:26

Hi Pavel I did check the document and I think I fail to understand the logic.  I am trying to use Try step and if the condition I am trying to give is if the finder is not available Assign a specific value to a variable.

The problem is when I try to assign a Device Automation variable it works but am trying to map that variable to Design Studio variable.

I am not able to do so for some reason, simply because of misunderstanding. If you could help me to understand this logic, that will be great.



Please help me.

Thanks..
avatar
Suren

Posts : 22
Points : 368
Join date : 2018-03-28

Re: Try step in Device Automation

Post by Suren on Fri 20 Jul 2018 - 19:30

pavel.vraj
pavel.vraj

Posts : 86
Points : 932
Join date : 2016-11-04
Location : Prague, Czech Republic

Re: Try step in Device Automation

Post by pavel.vraj on Tue 31 Jul 2018 - 16:54

Hi, in the Assign step type the value you need. Then you have to also set the output type.
Add output and set it to Text type.


Then the Return step will work.
BR, Pavel
avatar
Suren

Posts : 22
Points : 368
Join date : 2018-03-28

Re: Try step in Device Automation

Post by Suren on Tue 31 Jul 2018 - 18:12

Thanks Pavel _/|\_
avatar
leedle

Posts : 18
Points : 231
Join date : 2018-07-31

Re: Try step in Device Automation

Post by leedle on Wed 1 Aug 2018 - 5:36

For your situation, I would use a guarded choice step. Look for the location using a finder, and if it times out after X seconds, then assign the value.
avatar
Suren

Posts : 22
Points : 368
Join date : 2018-03-28

Re: Try step in Device Automation

Post by Suren on Mon 6 Aug 2018 - 15:00

Thanks again, I was able to fix this as well.

_/|\_

Sponsored content

Re: Try step in Device Automation

Post by Sponsored content


    Current date/time is Fri 22 Feb 2019 - 10:20