Re: dogtail test suite status

2007-07-18 Thread ahmad sayed
Hi Josh, 

After sending this Email, i tried to commit some codes, and i got and error i 
notice that, i didn't do svn add to the test-dogtail, but I thing it works fine 
now.






   

Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


dogtail test suite status

2007-07-15 Thread ahmad sayed
Hi Josh,

Waiting your comments :), I committed the code to the dogtail branch i created 
a new dir under src called src/test-dogtail  it contains my  up to date code.

Best regards,
Ahmed Sayed

- Original Message 
From: ahmad sayed [EMAIL PROTECTED]
To: Josh Sled [EMAIL PROTECTED]
Cc: gnucash-devel@gnucash.org
Sent: Saturday, July 7, 2007 1:46:59 PM
Subject: dogtail test suite test harness

Hi Josh,

Sorry for my long silence i got some issues with my PC lately, I solved it at 
last,

currently i have a mix of good news and bad news.
the good news is:

1 - Currently we have wrapper to most of dialogs, our wrapper module reach more 
than 1000 LOC.
2 - I'm able to test the register and i compelete a smplified version of 
tutorial 1  and 2.

the bad news is:
1 - In order to be  able to access some components, I use some raw inputs,  
according to dogtail  the raw input is to do mouse click using the coordinate,  
Like 
rawClick(wiget.position[0], widget.position[1])

2 - I got a problem with expanding the tree in the account pages so i only 
could create an account like
Expenses:Taxs
only parent and child more account like
 Expense:Taxs:Insurance currently no luck with them

also to access the register I use some tricks and work around Like 

===
def set_cell_text(self, text):
relative_pos = self.column_val - self.prev_col_val
print relative_pos
if relative_pos  0 :
for i in range(relative_pos):
self.keyCombo(Tab)
else:
for i in range(abs(relative_pos)):
   
 self.keyCombo(ShiftISO_Left_Tab)

self.typeText(text)


in this code i save my previos position in if it is after my current position 
press tab for n times else press shit-tab for n times, something like this.

ofcourse i was expecting more from dogtail unlike other Testing tool, i used or 
read about but the register needs some work to make it play nice with 
dogtail(make it accessible), 

BTW: i tried to play with gnucash register code, and atk but i make a very 
slight progress, like making dogtail read the  register as table but it will 
require a lot of time the register code is too big.

3 - i have a problem with my svn account I contacted Derek to help me solving 
it.

The news ends here, :)

Back to testplan running:
you suggested some approach like Junit,  I tried pyunit and it looks nice to 
me,  do you have
 any issues regarding using it to organize our test cases.

Best regards,
Ahmed Sayed




  Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, 
news, photos  more. 





  

Park yourself in front of a world of choices in alternative vehicles. Visit the 
Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ 
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: dogtail test suite status

2007-07-15 Thread Josh Sled
ahmad sayed [EMAIL PROTECTED] writes:
 Waiting your comments :), I committed the code to the dogtail branch i 
 created a new dir under src called src/test-dogtail  it contains my  up to 
 date code.

Sorry for the delay; I was out of town last week... I'm planning on reviewing
progress later today.

Unfortunately, I don't see any commits to the dogtail branch in svn.  Do you
get any errors when you do an `svn commit`?  Did you `svn add` the
src/test-dogtail directory?  What does `svn status` say?

-- 
...jsled
http://asynchronous.org/ - a=jsled; b=asynchronous.org; echo [EMAIL PROTECTED]


pgpEz3ZvNXENa.pgp
Description: PGP signature
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel