Hi Hitesh,

I thought you are using unix commands that's why I hinted about 'Remove 
Execution', and 'Secure SHell'.

You should seek doing an automated script that login to the database, and 
assign rights. That depends on the database type, its tools, and programming 
languages you know (if no db tools accepts direct SQL).


Yours,
Ahmed


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


Hi,

No I do not have a web interface to assign rights in LDAP. I am assigning 
rights to my user manually by loggin to the LDAP database through database 
client Squireel and after I assigned rights to my user, I use that user in my 
canoo script for execution.

I do not have any idea of RExec/SSH commands or how they can be used. It would 
be nice if you send some example showing their usage.

Thanks for the reply.

Hitesh


On Tue, Oct 14, 2008 at 7:28 AM, Ahmed Ashour <[EMAIL PROTECTED]> wrote:

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