← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #185780]: Handling dynamic objects

 

Question #185780 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185780

    Status: Answered => Open

Preeti is still having a problem:
Hi,Thanx for the answer i tried both the solutions.They worked but i am not able to understand the use of log.txt file in 2nd solution?
In both of the above solutions i still need to find the location of each box and it will be quite tedious for the end user.As my application has many boxes,according to the above solutions i need to define all of them before

box1 = Location(15,267)
box2 = Location(190,267)
box3 
box4
and so on....

I was trying some thing like this  :
X="English"
box1 = getRegionFromPSRM(X)
hover(box1)

Here "English" is any word on the page where i want to perform the
action.The "English" word can be read from external file(testdata),so
where ever i need to perform any action i just need to change the value
in the external file(excel/csv).

But the problem was in case where "English" was written at more than 1
place in a page or there is word which is similar to "English" like
"English1".

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.