Quantcast
Channel: Silk Test - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 625

How to identify a control using a label

$
0
0

I'm using Silk Test Workbench 17.0, .NET script.

I have a control to enter a time in mm:ss format.

When I record, I get:

.Control("00 00").Click(MouseButton.Left, New Point(5, 10))

.Control("00 00").TypeKeys("<#0><#2>:<#1><#5>")

where "00 00" is the current value of the control.

I want to change this so it will work for any current value.

I read that there is some way to use the label before the control to identify it, but I can't find any examples that show how to do this.


Viewing all articles
Browse latest Browse all 625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>