AutoIt Recorder
#1
Posted 29 December 2007 - 12:06 AM
Au3Info support scan web browser (internet explorer) not good that can't find web components.
It wish support web browser and java GUI.
AutoIt V3 is freeware scripting language and it powerful automating Windows task
that can bear comparison business testing tools script like Winrunner and SilkTest script.
But AutoIt no have good testing IDE and Framework to collect autoit good functions.
Winrunner and SilkTest majar support function testing, for i18n(Internationalization) software testing is not support so good.
Why are not develop testing IDE tools with AutoIt script.
If AutoIt have a testing IDE tools then it's a brightness future to fetch more of users(biz customers) to use and select this script language.
I have some idea shared.
It's include i18n automation testing tools project plan:
Shared some i18n testing idea discusse with you.
I wish it helpful and suggest this site add testing IDE tools topic on this forum.
include below topic
§1.Software testing
§2.iYAF(i18n Yarage Automation Framework) Testing Architecture
§3.iYAF for AutoIt
§4.Action Code and Action Data
§5.Recorder / DoIt / TDB / Reporter
§6.Robot Agent / Console Center
If your have interested them, Please connect to review the iYAF4it.pps file.
http://groups.google.com/group/iyaf/web/iyaf-for-autoit-ppt
Thanks,
#2
Posted 29 December 2007 - 01:29 AM
#3
Posted 29 December 2007 - 01:52 AM
I'm having trouble understanding what you are saying. Could you please repeat this in your native language, and maybe one of out members (or me) can help?
So sorry I'm not clearly description.
Whould you understanding korean or chinese that my native language.
I'll be update them clearly.
Thanks,
#4
Posted 29 December 2007 - 03:03 AM
#5
Posted 29 December 2007 - 06:27 AM
---
inspect32
IESpy
winspy
---
Our company have a testing tools that designed for i18n automated testing.
It uses GUI Driver files and Data Files as input data for testing.
After the automated test run has finished, the result is shown in IE browser displaying the summary of each test cases, including total steps run, total successes, fails and skips and a link to a detailed result. Optionally screenshots can be taken during test run and sent as attachment in an email to the tester. If screenshots are taken then there will be links to them in the detailed report. The end users need only to know how to create/modify GUI Driver and data files. Here are the steps to run a test case. (Here we call a GUI Driver a test case, which may include numbers of test steps, or GUI steps, they are in same meanings in this guide) ,This tools made by perl.
This tool can run automated tests on Win32 and IE GUIs test the GUI operations in different languages be used by testers without programming knowledge, but need to have basic knowledge on Windows/IE controls and classes take screenshots while running a test create XML reports as output of the test to show the result of each action step (indicating the status of success, fail and skip), there is also a link in the summary report to a detailed report. There will also be links to screenshots in the detailed report. send an email with or without screenshot attachment be configurable, there are some tunable parameters in data files to adapt to your preference.
1. Create a GUI Driver file in Excel and export it to XML format
2. Edit the corresponding data file, it is named as DataFile.conf by default
3. Run the test case
4. See the test result and optional screenshots for any possible errors
This is one of the main jobs to make the automated test.
The GUI driver file contains -step by step - all actions, that a human tester could do (like "clikc the OK button","select from a combobox".
on GUI driver file is for one test case, containing numbers of thest steps.
below is a sample guidrivers.
-------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<GUIMAP>
<GUIMAPITEM>
<No>#1_Run_C:_WINDOWS_system32_notepad_exe</No>
<Object>File</Object>
<Action>Run</Action>
<Content>C:\WINDOWS\system32\notepad.exe</Content>
<Window />
<Index />
</GUIMAPITEM>
<GUIMAPITEM>
<No>2_Set_testing guidriver_</No>
<Object>Edit</Object>
<Action>Set</Action>
<Content>testing guidriver.</Content>
<Window>Untitled - Notepad</Window>
<Index>1</Index>
</GUIMAPITEM>
<GUIMAPITEM>
<No>3_Select_Format</No>
<Object>Menu</Object>
<Action>Select</Action>
<Content>Format|Font...</Content>
<Window>Untitled - Notepad</Window>
<Index />
</GUIMAPITEM>
<GUIMAPITEM>
<No>4_Select_Cmbbox_12</No>
<Object>InternetExplorerServer</Object>
<Action>Select_Cmbbox</Action>
<Content>12</Content>
<Window>Font</Window>
<Index />
</GUIMAPITEM>
<GUIMAPITEM>
<No>5_Click_OK</No>
<Object>Button</Object>
<Action>Click</Action>
<Content>OK</Content>
<Window>Font</Window>
<Index />
</GUIMAPITEM>
<GUIMAPITEM>
<No>6_Set_testing guidriver_</No>
<Object>Edit</Object>
<Action>Set</Action>
<Content>testing guidriver.</Content>
<Window>Untitled - Notepad</Window>
<Index>1</Index>
</GUIMAPITEM>
<GUIMAPITEM>
<No>7_Select_File</No>
<Object>Menu</Object>
<Action>Select</Action>
<Content>File|Save As...</Content>
<Window>Untitled - Notepad</Window>
<Index />
</GUIMAPITEM>
<GUIMAPITEM>
<No>8_Click_File name:</No>
<Object>Static</Object>
<Action>Click</Action>
<Content>File name:</Content>
<Window>Save As</Window>
<Index />
</GUIMAPITEM>
<GUIMAPITEM>
<No>9_SendKeys_{DELETE}</No>
<Object>Window</Object>
<Action>SendKeys</Action>
<Content>{DELETE}tmp{Enter}</Content>
<Window>Save As</Window>
<Index />
</GUIMAPITEM>
<GUIMAPITEM>
<No>10_Set_testing guidriver_</No>
<Object>Edit</Object>
<Action>Set</Action>
<Content>testing guidriver.</Content>
<Window>tmp.txt - Notepad</Window>
<Index>1</Index>
</GUIMAPITEM>
</GUIMAP>
------------------------------------------------
so you can for example have on gui driver file for a whole installation of a product, and it will contain each single step. you can make the gui driver xml file.
I hope Autoit inner provide event records and screen capture functions.
Thanks,
#6
Posted 29 December 2007 - 03:14 PM
#7
Posted 29 December 2007 - 07:52 PM
Interesting. So you are saying that you can make AutoIt run natively on Linux etc?
I don't know where you read this. I don't see the word Linux anywhere above.
#9
Posted 30 December 2007 - 03:33 AM
I did start creating a debugging mode for AutoIt a couple of years ago, but I ran out of spare time to do anything with it. The problem is that this is not a small task. If you can convince an AutoIt developer who has a lot of time on his hands (good luck finding one) to look at this, great, but I think it has a lower priority. I agree this would be useful, but someone has to have the time to plan it and build the code to do it.
#10
Posted 30 December 2007 - 05:20 AM
I use it to make automation testing script to control Windows GUI.
I'm no said Autoit to run on Linux in the powerpoint.
Command line interact tcl/expect better than others language on Linux.
Across OS-Platform I'll select python,perl and tcl script languages.
Who's comanpy to use autoit script to develop biz windows GUI project?
Autoit GUI Controls better VC/Delphi/.NET Windows GUI components?
Below is some IT news.
-HP buy Mercury Interactive(winrunner etc.).
-Borland buy Seque(slicktest etc.).
-EMC buy VMware.
This information said that automation testing is importance on Application Lifecycle(Plan,Define,Design,Develop/Configure,Test,Deliver).
It good way if Autoit provide freeware automation testing solution and tools.
Below is a suggest for AutoIt add some functions.
1. AutoIt extension that makes use of JNI to facilitate communication between a Java interpreter and a AutoIt interpreter.
2. AutoIt good support IE/Firefox(web browser).
3. AutoIt provide simple control vmware(vix).
4. If support i18n(internationalization) software need use xml/yaml format to separate code(script) and data(window/menu/buton text etc.).
5. This is a infantility think that the scripts include database(sqlite db) and execute a function script read from db.
Thanks,
#11
Posted 30 December 2007 - 06:11 AM
It's not apparent from a quick scan what the capabilities of JNI are with regards to interacting with AutoIt. A quick glance seems to show that the code has to be exported meaning it needs to be in a DLL for Java to use it.1. AutoIt extension that makes use of JNI to facilitate communication between a Java interpreter and a AutoIt interpreter.
See IE.au3. Firefox does not expose an object model (normally) so it's not possible to automate it as relatively seamless as it is with IE.2. AutoIt good support IE/Firefox(web browser).
VIX apparently provides a COM interface. You would normally use this from AutoIt. Failing that, you could use DllCall() and DllStruct to work with the C API's exported from one of the DLL's. But the COM interface is your easiest way.3. AutoIt provide simple control vmware(vix).
AutoIt doesn't need to support this natively outside of providing Unicode support (which it does). If you need i18n then write some code in AutoIt to load your localized data. For smaller projects, INI files would suffice. For larger projects, you could use XML and AutoIt's COM functionality to leverage MSXML for reading your data. At any rate, this is not something AutoIt needs to concern itself with.4. If support i18n(internationalization) software need use xml/yaml format to separate code(script) and data(window/menu/buton text etc.).
Sounds like something you can write on your own. Write a script (in AutoIt) which queries a database (via COM), saves the results to a temporary file and invokes that temporary file with /AutoIt3ExecuteScript.5. This is a infantility think that the scripts include database(sqlite db) and execute a function script read from db.
#12
Posted 03 January 2008 - 06:17 PM
jamesB,Nutster and Valik
Who have a plan make a testing tool like winrunner and slicktest,
to understand others is to have knowledge;to understand oneself is to be illumined.
such the scope of the all pervading power that it alone can act through the way.
I hope autoit increase to powerful.
Regards,
#13
Posted 03 January 2008 - 07:13 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users




