[LDTP-Dev] Questions on LDTP

Nagappan Alagappan nagappan at gmail.com
Thu Aug 13 05:24:25 PDT 2015


Ajay,

Since I wrote LDTP, I may not be the right person to answer the question
for how difficult to write LDTP based scripts.

LDTP is designed with structured programming, other languages are just an
interface provided for easiness.

Regarding your other email, recording code has been removed from LDTP long
back. HOWTO you are pointing is pretty old.

Regards
Nagappan

On Thu, Aug 13, 2015 at 1:08 AM, Ajay Taneja <Ajay.Taneja at quest-global.com>
wrote:

> Thanks Nagappan, much appreciated.
>
>
>
> Can you please share your experience on how easy/difficult you have found
> typing scripts each tiem than recording using LDTP?
>
>
>
> Can this easily be done by developers with no experience in LDTP Scripting
> (of course programming experience will exist)?
>
>
>
> Does LDTP scripting require OOPS understanding or it can be done by
> developers with procedural oriented experience only?
>
>
>
> Thanks again.
>
> Ajay
>
>
>
> ------------------------------
>
> *From:* Nagappan Alagappan [nagappan at gmail.com]
> *Sent:* 13 August 2015 05:51
> *To:* Ajay Taneja
> *Cc:* ldtp-dev at lists.freedesktop.org
> *Subject:* Re: Questions on LDTP
>
> Ajay,
>
> LDTP doesn't support recording, we tried few on Linux, but it doesn't
> yield the expected output, so we stopped further development.
>
> For data driven, you can call the same test api with different values,
> at-least we do similar things @VMware.
>
> Regards
> Nagappan
>
> On Mon, Aug 10, 2015 at 6:26 AM, Ajay Taneja <Ajay.Taneja at quest-global.com
> > wrote:
>
>> Hi,
>>
>>
>>
>> I have the following very basic questions concerning LDTP and shall be
>> grateful if someone can assist.
>>
>>
>>
>> I would like to know if the features described belwo are supported in
>> LDTP (or windows version Cobra) before goign furtehr into LDTP.
>>
>>
>>
>> *QUESTION 1)* Recording tests in context sensitive mode and analogue mode
>>
>> A)  Does LDTP offer the functionality to record tests and thus,
>> automatically create test scripts?
>>
>> B) Can you advise if it is possible record both context sensitive tests
>> and analogue tests? When I say, context sensitive tests, I mean that the
>> recorder does not record mouse movements but is based on just recognising
>> the GUI objects and the associated properties with each object.
>>
>> C) Is it possible to record analogue tests i.e. the keyboard input, mouse
>> clicks and precise x and y coordinates travelled by the mouse pointer on
>> the screen are recorded.
>>
>> *QUESTION 2:* Question on check points
>>
>> Checkpoints allow you to compare the current behavior of the application
>> being tested to its behavior in an earlier version (although different
>> software’s / automates tools use different terminologies- may not be
>> “checkpoint”).
>>
>> My questions are as follows;
>>
>> A) What is the equivalent terminology/functionality of “checkpoints” in
>> LDTP ?
>>
>> B) Does LDTP support the following check-points;
>>
>>    - GUI checkpoint: This type of check point is sued to verify
>>    information about GUI objects. For example, to check that a button is
>>    enabled or see which item is selected in a list
>>    - Bitmap checkpoint: A bitmap checkpoint takes a “snapshot” of a
>>    window or area of “your” application and compares this to an image captured
>>    in an earlier version.
>>    - Text check points: This type of checkpoint reads the text in GUI
>>    objects and in bitmaps and enables the user to verify its contents. Is it
>>    possible to read the text in a window that appears in the application that
>>    is being tested, thus having a check point therein
>>    - Database checkpoints: The type of check points check the contents
>>    and the number of rows and columns of a result set, which is based on a
>>    query you create on your database.
>>    - Table contents: Check points to check/ verify the contents of a
>>    table. This could be the whole content of the table or a part/selected
>>    content of the table.
>>
>> If you could provide any further insight on checkpoints, it will be very
>> useful.
>>
>> *QUESTION 3: *Regarding the GUI checkpoints, is it possible to check a
>> single object in a window or two objects in a window or all objects in a
>> window i.e. as desired by the user.
>>
>>
>> *QUESTION 4: *Data driven tests
>>
>>
>> Is it possible to run data driven tests in LDTP? That means, if one wants
>> to perform the same operations with multiple sets of data, i.e. if one
>> wants to check how the application responds to ten separate sets of data
>> one could either run;
>>
>> A.ten separate tests each with its own set of data
>> B.Alternatively create a data driven test with a loop that runs ten
>> times. In each of the ten iterations, the test is driven by a different
>> data set
>>
>>
>> Of course, option I is straight forward, right?
>>
>> Is option B possible in LDTP?
>>
>>
>>
>> Thanks,
>>
>> Ajay
>>
>>
>> The information contained in the E-Mail and any subsequent correspondence
>> may be subject to the Export Control Act (ECA) 2002. The content is private
>> and is intended solely for the recipient(s).
>> For those other than the recipient any disclosure, copying, distribution
>> or action taken or omitted to be taken, in reliance on such information is
>> prohibited and may be unlawful.
>> If received in error please return to the sender immediately.
>> Under the laws of England misuse of information that is subject to the
>> ECA 2002 is a criminal offence.
>> QuEST Global Engineering Limited, Registered in England No 07661210
>> Registered office: Winterstoke Road, Weston-super-Mare, North Somerset,
>> BS24 9AB
>>
>
>
>
> --
> Cross platform GUI testing
> Linux Desktop (GUI Application) Testing Project -
> http://ldtp.freedesktop.org
> Cobra - Windows GUI Automation tool - https://github.com/ldtp/cobra
> ATOMac - Mac GUI Automation tool - https://github.com/pyatom/pyatom
> http://nagappanal.blogspot.com
> The information contained in the E-Mail and any subsequent correspondence
> may be subject to the Export Control Act (ECA) 2002. The content is private
> and is intended solely for the recipient(s).
> For those other than the recipient any disclosure, copying, distribution
> or action taken or omitted to be taken, in reliance on such information is
> prohibited and may be unlawful.
> If received in error please return to the sender immediately.
> Under the laws of England misuse of information that is subject to the ECA
> 2002 is a criminal offence.
> QuEST Global Engineering Limited, Registered in England No 07661210
> Registered office: Winterstoke Road, Weston-super-Mare, North Somerset,
> BS24 9AB
>



-- 
Cross platform GUI testing
Linux Desktop (GUI Application) Testing Project -
http://ldtp.freedesktop.org
Cobra - Windows GUI Automation tool - https://github.com/ldtp/cobra
ATOMac - Mac GUI Automation tool - https://github.com/pyatom/pyatom
http://nagappanal.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/ldtp-dev/attachments/20150813/58fa4a0c/attachment-0001.html>


More information about the LDTP-dev mailing list