Jump to content
Sign in to follow this  
ShrutiW

Scripts for multiple scenarios - (Moved)

Recommended Posts

Hi All, I have started developing AutoIt script for windows application.  I am able to test one scenario for our project. Now I need to create multiple scenarios for various test cases for the same application, And I have to run those scripts in visual studio. I'm confused which strategy should I follow? Will I be able to run multiple scripts for different different scenarios separately? Or should I merge them ? Please suggest me what is the correct way to do this? 

Share this post


Link to post
Share on other sites

Moved to the appropriate forum.

Moderation Team


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
On 3/13/2019 at 4:45 PM, ShrutiW said:

Please suggest me what is the correct way to do this? 

Without seeing what you are up to, it is very hard to gauge what you need or should best do.

Do these tests relate to one another?
In other words, does the result from one or more need to get fed to another one?

And by merge, are you perhaps suggesting running simultaneously? Not something done very easily or well with AutoIt, as it isn't multi-threaded.

Or do you want each to run in order, waiting for each to finish before starting the next?
In other words using one main controlling process guiding all of your test cases ... much like click one button to do all.

If they are totally independent, then perhaps they should stay that way ... but depends on how slick you might want to be ... and how confusing that could seem.


Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Share this post


Link to post
Share on other sites
On 3/13/2019 at 11:45 AM, ShrutiW said:

Now I need to create multiple scenarios for various test cases for the same application, And I have to run those scripts in visual studio. I'm confused which strategy should I follow?

If you are talking about automated testing that you can run everytime to check the code for bugs, then AutoIt does not have a testing framework (that I have seen).

On 3/13/2019 at 11:45 AM, ShrutiW said:

And I have to run those scripts in visual studio.

Someone has made an extension for AutoIt in Visual Studio if I remember correctly... ah, here you go:

 


A cross-platform implementation of the AutoIt language

My contributions to the AutoIt Community ##AutoIt at freenode, real-time chat

3fHNZJ.gif

Spoiler

If I have hurt or offended you in anyway, Please accept my apologies, I never (regardless of the situation) intend to do that to anybody.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...