Hi Hitesh,

If you have a web interface to assign rights in LDAP, then use to 'click' your 
links on that web interface.

There is a consideration for adding server-side testing in HtmlUnit (and may be 
in WebTest), but it won't be implemeted soon.

BTW, you can add RExec/SSH commands to your unit tests (indpendent of 
WebTests), there are free libraries you can use, but I don't remember which.

Yours,
Ahmed

----- Original Message ----
From: Hitesh Gupta <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, October 14, 2008 5:13:45 PM
Subject: [Webtest] LDAP database access through canoo webtest


Hi,

I need to solve an urgent issue in which I have to make some changes in the 
LDAP database. For example 

I am having one test user in LDAP database and I have to assign rights to that 
user in LDAP. After that only my user will be able to login to the web page. 
And every time I have to execute that test I have to first assign rights to 
that user in LDAP database.

Is there any way in Canoo by which I can assign different rights to my user in 
LDAP database through webtest. So that I do not need to manually first assign 
rights to my user and then actually use the user in my canoo script.
Just need a way through which I can update the LDAP objects through Canoo 
webtest.

Thanks in advance for your help..!!

Hitesh


      

Reply via email to