Forum Discussion
kaiiii
Regular Contributor
Hi, i got your point
will it work if i use different argument for 2nd object ??
i mean if i use Title or something extra
baxatob
6 years agoCommunity Hero
Give a try.
But on my point better to separate finding of elements. Like:
//p s e u d o c o d e function MyFind(Property, Value, Timeout) { return page.WaitProperty(Property, Value, Timeout) } function MyTest() { someAction() if MyFind(Property1, Value1, Timeout) { doSomething() } elif MyFind(Property2, Value2, Timeout) { doSomethingElse() }
else {
Log.Warning("Nothing was found")
{ }
Related Content
- 6 months agopaarmann-ara
- 9 years agoteak
- 5 years agoToananas
Recent Discussions
- 2 days agovladd1