Re: [Sikuli-driver] [Question #654090]: How to sort without search option in python

2017-08-01 Thread Muthumanikandan
Question #654090 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654090

Muthumanikandan posted a new comment:
Hi Dinev ,

You are asking question to me or hampl.

If you asked to me , my answers are:

arrow keys works but it will not select radio button it just go up and
down

You can copy single cell value ex: gate entry alone or vendor code alone

Every time lines count will change,it was dynamic. Only one page will
display in screen but it has horizondal scroll bars

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #654900]: how to update from Sikuli 1.0.1 to SikuliX 1.1.1

2017-08-01 Thread Anna Andraszek
New question #654900 on Sikuli:
https://answers.launchpad.net/sikuli/+question/654900

Hi, I'm using Sikuli 1.0.1 with Robot Framework and would like to upgrade to 
SikuliX 1.1.1. I installed SikuliX it in a new folder and the setup went fine. 

In my batch file I changed:

set sikuli_jar=E:\sikuli\sikuli-script.jar

to:

set sikuli_jar=E:\sikuliX\sikulixapi.jar

Should that be enough? (The different file architecture in this installation 
leads me to think not.) I'm getting "Unsupported major.minor version 51.0" 
errors. Any guidance would be helpful, thank you.



-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #653328]: SikuliX and Microsoft MMC

2017-08-01 Thread Ran
Question #653328 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/653328

Status: Answered => Solved

Ran confirmed that the question is solved:
Thanks RaiMan. Silly Microsoft, now we are forced to abandon super
useful tools like Sikuli and stuck with MS Windows automation tools to
automate MMC apps.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #654441]: multiple screenshot analysis in a script

2017-08-01 Thread keith Fischer
Question #654441 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654441

keith Fischer posted a new comment:
If you see the target image but sikuli does not find it consider this: If not 
already identify if these images appear in a consistent region of the web page. 
Create the web page sub region as the search region. This makes matches many 
times more accurate without all the other image noise. Doing this will provide 
the search accuracy and confidence in your tool.  Also, make sure your match 
png's are pixelated and not lots of solid pixel color.  I have sikuli running 
reliably using these techniques.
Because the target is a web page on a browser, consider using selenium with 
sikuli. selenium can return the coordinates of the image and use sikuli to 
verify.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #654441]: multiple screenshot analysis in a script

2017-08-01 Thread arminius
Question #654441 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654441

arminius gave more information on the question:
it occurs to me I'll probably be mocked for that abridged version of my code up 
top, was just trying to give an example of what I want it to do.
here's the best I could really do

"def search():
while True:# 1st attempt to find the image with a loop
print('Searching..at the 1st loop.')
if exists(Pattern("screenshot1.png").targetOffset(-15,-52)):
print('Image1 located!')
# break loop.
break
else:
break
if exists(Pattern("screenshot2.png").targetOffset(-15,-52)):
print('Image2 located!')
# break loop.
break
else:
break
search()"

didn't do what I wanted it to though, it just kept displaying
Searching..at the 1st loop over and over again.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #654441]: multiple screenshot analysis in a script

2017-08-01 Thread arminius
New question #654441 on Sikuli:
https://answers.launchpad.net/sikuli/+question/654441

I've been trying for months to screenshot an alarm on  a stock webpage, but the 
background and foreground are so dyanimc that a screenshot I take get's it's 
match scaled down to below 30% and then so many false positives crop up.

I've been trying to figure out a solution for months, I think I'm close.

I think I need to paraphrase " if exists(Pattern("image seen as of 
monday").targetOffset(-16,-58)):
 print('found 1st 
image')
 else:
  break
  if 
exists(Pattern("image seen as of tuesday").targetOffset(-16,-58)):
print('found 
2nd image')
  else:
   break
  if 
exists(Pattern("image seen as of wednesday").targetOffset(-16,-58)):
print('found 
3rd image')

hover(getLastMatch())

I need it to look for the first one, if it doesn't find it, it looks for the 
2nd, and so on and so forth, when it finds one the loop breaks and it moves on 
the the hover(getlast match) if it doesn't find one it returns to the top of 
the loop.
If I come along hours later and find it hung then I add a thursday screenshot, 
just keep adding to the loop till it will always find a match.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #654090]: How to sort without search option in python

2017-08-01 Thread dinev
Question #654090 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654090

dinev posted a new comment:
Ok - some more questions:

If I click within the grid - can I do CTRL+A CTRL+C to copy all in clipboard?
Does the clipboard has human readable format in this case - I mean text?
If I am in the grid does the arrow keys work moving up and down over the rows?
Can I select a single row and copy in clipboard?
How many lines are in this list .. do you need to scroll for next pages?
Does to serial number and gate ID changes - if you are doing automated tests 
they maybe need to be fixed?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #654227]: Use offset(Location(x, y)} but get wrong position some time

2017-08-01 Thread dinev
Question #654227 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654227

dinev posted a new comment:
I do not see where scene_offset is calculated. Maybe this can be the
problem.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #654090]: How to sort without search option in python

2017-08-01 Thread dinev
Question #654090 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654090

dinev posted a new comment:
Ok - some more questions:

If I click within the grid - can I do CTRL+A CTRL+C to copy all in clipboard?
Does the clipboard has human readable format in this case - I mean text?
If I am in the grid does the arrow keys work moving up and down over the rows?
Can I select a single row and copy in clipboard?
How many lines are in this list .. do you need to scroll for next pages?
Does to serial number and gate ID changes - if you are doing automated tests 
they maybe need to be fixed?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #654436]: wait(img, t) fails to identify an image

2017-08-01 Thread johan
New question #654436 on Sikuli:
https://answers.launchpad.net/sikuli/+question/654436

I have defined a function as follows: 

def natsurClick(self, img, time=3):
wait(img, time)
click(img)
wait(1)

It awaits an image and then click at it. As it is now I have more than 50 tests 
were this method works and this 1 test were it fails about 4 out of 5 times for 
some reason.

20170801 FAIL : 
FindFailed: FindFailed: training.png: (46x15) seen at (475, 425) with 1.00 in 
S(0)[0,0 1920x1200] E:Y, T:3.0
  Line 2759, in file Region.java

20170801 DEBUG : 
Traceback (most recent call last):
  File "C:\..\tests\natsur.sikuli\natsur.py", line 432, in open_project_dialog
self.natsurClick("training.png")
  File "C:\..\tests\natsur.sikuli\natsur.py", line 524, in natsurClick
wait(img, 2)
  File "C:\.\sikulix.jar\Lib\sikuli\Sikuli.py", line 65, in wait
return SCREEN.wait(target, timeout)

"training.png" is a 100% match and completely unique to the screen, the next 
match is found first around 25%.
The sequence to this point is correct every time, "training.png" is also 
visible every time, yet it fails to identify it.

Any suggestions of what could be the error here?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #654244]: Waiting for image, type command, then waits again

2017-08-01 Thread dinev
Question #654244 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654244

dinev proposed the following answer:
Change the sleep(1) to sleep(0.1) after type("c")
Sleep time is in seconds - 0.1 is 100ms

However please note that exist command also take some non zero time to
be executed

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #653769]: How to run a executable query in Oracle -Sql Developer

2017-08-01 Thread Manfred Hampl
Question #653769 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/653769

Status: Open => Answered

Manfred Hampl proposed the following answer:
If text_file.write(...) already worked in comments #2 and #5, why should
it stop working now?

Please debug your script by adding print statements for verifying the
contents of the variables at execution time.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #653769]: How to run a executable query in Oracle -Sql Developer

2017-08-01 Thread Muthumanikandan
Question #653769 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/653769

Status: Answered => Open

Muthumanikandan is still having a problem:
Thanks Hampl..

I tried with your code , it ran successfully but value not writing .

Can you please confirm the variable length for sikuli jython (i.e) how
many characters can we assign for variable

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #654244]: Waiting for image, type command, then waits again

2017-08-01 Thread layanor
Question #654244 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654244

layanor posted a new comment:
This does work. However typing c is going very slowly. Is there a way to
make this quickly respond?

Also thank you for helping me out. Cutting all of that extra code out
was very helpfull!

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #653769]: How to run a executable query in Oracle -Sql Developer

2017-08-01 Thread Manfred Hampl
Question #653769 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/653769

Status: Open => Answered

Manfred Hampl proposed the following answer:
You just have to replace

for rx in range(sheet.nrows):
  print "contents: " + sheet.cell_value(rx,33)

by

for rx in range(sheet.nrows):
 text_file.write(sheet.cell_value(rx,33))

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #653769]: How to run a executable query in Oracle -Sql Developer

2017-08-01 Thread Muthumanikandan
Question #653769 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/653769

Status: Answered => Open

Muthumanikandan is still having a problem:
Thanks for the above Comment # 14,it  helped i am getting close to my
result, but one step ahead,

I tried below code:

import xlrd
import datetime
EXCELFILE = "D:\\Muthu\\Datamanipulation\\book2.xlsx"
book = xlrd.open_workbook(EXCELFILE)
sheet = book.sheet_by_index(0)
#print "value" + str(sheet.nrows)
for rx in range(sheet.nrows):
 print "contents: " + sheet.cell_value(rx,33)

Result:
Column 33 value of all rows is getting printed


instead of printing, i need to get the result in temporary variable and pass 
the variable value to text_file.write

for ex :
value = sheet.cell_value(40,33) ##value temp variable
text_file.write(sheet.cell_value(40,33)) ## passing variable value to 
text_file.write input

Kindly provide the code for the above scenario.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #654025]: How to get click event value

2017-08-01 Thread Muthumanikandan
Question #654025 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654025

Status: Answered => Solved

Muthumanikandan confirmed that the question is solved:
My script:

newvalue = input("Enter Dock no :")
wait(1)
text_file = open("Output.sql", "w")
text_file.write("UPDATE terminal SET te_ar = '")
text_file.write(newvalue)
text_file.write("' WHERE te_ip = (SELECT SYS_CONTEXT('USERENV','IP_ADDRESS') as 
ip_address FROM dual);")
text_file.write("\ncommit;")
text_file.close()


batch_file=open("Script.bat","w")
batch_file.write("set NetPath=%~dp0")
batch_file.write("\n@echo off")
batch_file.write("\nsqlplus -L GPCPRD/ZEROGPC@DB10:1521/ORCL.CORP.SIERRATEC.COM 
@%NetPath%/Output.sql")
batch_file.write("\nexit")
batch_file.close()

openApp("Script.bat")
wait(4)

i tried own with the idea of your comment #3, got worked .Problem solved
Thanks alot:)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1706334] Re: [1.1.1] - Region.observe - onAppear() handler quits when using low lvl mouse commands like mouseDown

2017-08-01 Thread Benjamin Berg
Ok thanks for looking into it anyway. 
I tried your code, worked for me too, I spent some time to investigate why, and 
I found my mistake. 
I wrote "Button.Left" but it has to be LEFT , if I write Button.Left it says:

[error] script [ Unbenannt ] stopped with error in line 1
[error] AttributeError ( type object 'org.sikuli.script.Button' has no 
attribute 'Left' )


but since this is inside the handler it seems that no message is provided by 
SikuliX (not sure if this is an issue or if it is possible to do so.). The 
error message can just be seen if you do the stuff outside of a handler 
function.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1706334

Title:
  [1.1.1] - Region.observe - onAppear() handler quits when using low lvl
  mouse commands like mouseDown

Status in Sikuli:
  Opinion

Bug description:
  My script stops the observation on the following code - see also
  screenshot provided:

  Debug.on(3);
  neueRegion = Screen(0);
  Settings.OcrTextRead = True;
  def testHandler(event):

  neueRegion.mouseMove("1500985545922.png");
  neueRegion.mouseMove(0,40);
  neueRegion.mouseDown(Button.Left);
  event.repeat(1);

  neueRegion.onAppear("1500985537208.png", testHandler);
  neueRegion.observe(30);

  

  The script did not exit the observer (used repeat(1) correctly) when I left 
out mouseDown or mouseUp commands. Also a wait(3) or similar code stopped the 
observer
  A simple "neueRegion.click(1500985537208.png)" did NOT cause the observer to 
stop too early.

  I think that is not the behavior it should have when I say
  ObserveEvent.repeat()

  I am using SikuliX 1.1.1 on Windows 7 Professional - Version 6.1.7601
  SP 1 Build 7601 - 64 bit

  ---

  Edit: Also a region.doubleClick() stops the observer ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1706334/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #654090]: How to sort without search option in python

2017-08-01 Thread Manfred Hampl
Question #654090 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654090

Status: Open => Answered

Manfred Hampl proposed the following answer:
Sorry, it is not possible for me to provide a sample script. I do not know any 
details about the program that you want to control with Sikuli, and so I cannot 
verify whether any sample code could really work.
I do not see a chance that somebody else is able to develop such script without 
having access to this application.
It seems that you have to develop that yourself.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #654227]: Use offset(Location(x, y)} but get wrong position some time

2017-08-01 Thread YO
Question #654227 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654227

YO posted a new comment:
I have use  mouseMove(target)  to ensure the central point of the image
I found.

If the initial target is getting wrong, the whole offset in "scene_list"
would be the same, since I use the variable "scene_offset" to control.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #654090]: How to sort without search option in python

2017-08-01 Thread Muthumanikandan
Question #654090 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654090

Status: Answered => Open

Muthumanikandan is still having a problem:
Here the selection criteria is S.no and Gate entry no, while doing
manually tester knows his gate entry.

But in script i need guidance.. In my application there is no search
option and it is not possible to add search box in screen(client wont
accept search box there)

Your idea is one of the possible ways , can you please explain with
sample code for that idea.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #654090]: How to sort without search option in python

2017-08-01 Thread Manfred Hampl
Question #654090 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654090

Status: Open => Answered

Manfred Hampl proposed the following answer:
How do you know which line to select? What are the selection criteria?

Some ideas:
Do a searchall for the empty selection box, store the vertical and horizontal 
positions for the first one in variables.
Calculate the difference in vertical positions between the first and the second 
ones.
If you know that you have to select the n-th line, do a click on 
(horizonalpos1, verticalpos1 + (n-1)*verticaldiff)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #654090]: How to sort without search option in python

2017-08-01 Thread Muthumanikandan
Question #654090 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654090

Muthumanikandan gave more information on the question:
https://screencast-o-matic.com/watch/cbjV17lAYf

For screenshot use above link.

Kindly provide me working examples to select one particular record in
screenshot

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #653769]: How to run a executable query in Oracle -Sql Developer

2017-08-01 Thread Manfred Hampl
Question #653769 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/653769

Status: Open => Answered

Manfred Hampl proposed the following answer:
As far as I know the parameters are
sheet.cell_value(row,column)

In which row(s) and column(s) are your data?

If it is
row 40 col 33
row 41 col 33
row 42 col 33
then you have to loop over the rows as proposed in comment #12.

I suggest that you do debugging with print statements. something like

print "number of rows: " + str(sh.nrows)
for rx in range(sh.nrows):
 print "in row: " + str(rx)
 print "contents: " + sheet.cell_value(rx,33)
 text_file.write(sheet.cell_value(rx,33))
 text_file.write("\ncommit;")

etc. to see how the script is processing through the rows.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #654090]: How to sort without search option in python

2017-08-01 Thread dinev
Question #654090 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654090

dinev posted a new comment:
Use one of the many free screen cast online services and pos just a
link. Good example is a Jing service

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #653769]: How to run a executable query in Oracle -Sql Developer

2017-08-01 Thread Muthumanikandan
Question #653769 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/653769

Muthumanikandan posted a new comment:
 i am a tester i will improve by practice..

1)  i tried this comment#12 code

sheet = book.sheet_by_index(0)

text_file = open("Output.sql", "w")

for rx in range(sh.nrows):
text_file.write(sheet.cell_value(rx,33)
text_file.write("\ncommit;")

text_file.close()

it fetch only single row value , for ex: fetched only row 33 value..

2) with the above example i tried to fetch column value

text_file = open("Output.sql", "w")

for rx in range(sh.ncols):
text_file.write(sheet.cell_value(rx,33)
text_file.write("\ncommit;")

text_file.close()

i got this error:

[error] IndexError ( index out of range: 5 )
[error] --- Traceback --- error source first line: module ( function ) 
statement 413: sheet ( cell_type ) IndexError: index out of range: 5

Can anyone help me with example how to fetch multiple record,
for ex: row40,col33
row41,col33
row42,col33

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp