question

sasha avatar image
sasha asked ericnute edited

how to use saved devices sessions in open command

I have created and saved web services device under saved session section pls refer to attached image: ![Select Session Profile dialog box][1] Now, in my main program I would like to use the session in the "open" command i.e. In the open command description when I click on browse to open Select session profile or device window refer to description.png attachment. In the window, when i select device radio button and click on the drop-down arrow, Im unable to view any device under it refer to device_drop_down.png attachment. [1]: /storage/attachments/3680-device1.png
iTestsession profile
device1.png (65.1 KiB)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

lakshminarayana avatar image
lakshminarayana answered
The **Saved Sessions** will be stored under the **interactive.tbml** under the **resource** project. If we want to use these saved sessions, 1. Associate the **interactive.tbml** file to the test case. 2. Add **open** step, click on browse, select **Device:** and select the session from the drop down list.[link text][1] [1]: /storage/temp/3685-steps.zip

steps.zip (191.0 KiB)
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sasha avatar image sasha commented ·
Guys, thanks alot
0 Likes 0 ·
vijaykumar avatar image
vijaykumar answered vijaykumar edited
Hi, To add devices to open step, we need to use topology. Please create a topology with the saved web services device and add topology file path in testcase General tab and, then save it. So that device names will visible once you click on browse button of the open step. ![alt text][1] [1]: /storage/temp/3682-local_topology.png

local_topology.png (64.4 KiB)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.