0

Testng+Maven+Webdriver 2.0

http://orchard.codeplex.com/SourceControl/latest#src/Orchard.Specs/Pages.feature.cs
0

the best way of learning...

Hi,

If you stop reading, you will be out of the market soon, you will become stale, you have to work on your skill on daily basis and have to compete with the world not with you colleges only.

Best Magazines to read:
Taken from: here
0

Tools For Testing

0

A good way to start career-QA

Hello friends,

When I started my career, I only knew <testing terms>. I was wondering about practical knowledge. There was a quality of finding <lapses> from here and there and finally I came to know that was the <Real Practical World>.

You can start your career with below site:
http://www.testing-challenges.org

--
Thanks,
Nimesh Prajapati
[QA]
0

Help full links for Automation

0

Handling basic authentication through autoit-selenium-For Chrome



Step 1: save it as EXE
;ShellExecute("@site") No need to execute the shell-For testing purpose only
;WinWait("10 secs","10",5)
AutoItSetOption("WinTitleMatchMode","2")
WinWait("Untitled - Google Chrome")
$title = WinGetTitle("Untitled - Google Chrome") ; retrives whole window title
$UN=WinGetText($title,"User Name:")
ControlSend($title,"",$UN,"demo");Sets Username
$PWD=WinGetText($title,"Password:")
Send("{TAB 1}")
ControlSend($title,"",$PWD,"tools");Sets PWD
Send("{ENTER}")


Step 2: Open your webdriver code

@Test 
public void testUntitled() 

         Runtime run = Runtime.getRuntime();
         Process pp=run.exec("C:\\Program Files\\AutoIt3\\Examples\\Login.exe");
         driver.naviageto("@site")
         ...................
         ...................


----:) That's it
0

Autoit-Capturing Screen is easy now

#Region
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
#AutoIt3Wrapper_Add_Constants=n
#EndRegion ;Nimesh Prajapati-Lead
#include <ScreenCapture.au3>
#Include <Date.au3>
$date =  @MDAY & "/" & @MON & "/" & @YEAR & ":" & @HOUR & "." & @MIN & "." & @SEC

$timemin=36; Minute
$timehour=4 ;hours
$timeday=23 ; date
;MsgBox(0,$timetorun,$timetorun)

Call("callofduty")

Func callofduty()
    $counting=1
    While 1
        $counting=$counting+1
        $timetorun=@MIN
    If $timetorun=$timemin AND @MDAY=$timeday Then
        ;MsgBox(0,"True:", " " & $timetorun & "."& $timemin)
       ShellExecute ("http://google.com")
        $date =  @MDAY & "_" & @MON & "_" & @YEAR & "_" & @HOUR & "_" & @MIN & "_" & @SEC
        WinWait("Waiting","10 seconds",10);
    _ScreenCapture_Capture(@MyDocumentsDir & "\Screen_shot" & $date & ".jpeg")
    WinWait("Waiting","5 seconds",5);
    WinClose("canon")

ElseIf $timetorun > $timemin Then
    ;MsgBox(0,"Exitloop", " " & $timetorun & "."& $timemin)
    ExitLoop
ElseIf $timetorun < $timemin Then
    ;MsgBox(0,"Cont Loop", " " & $timetorun & "."& $timemin)
    ContinueLoop
    ;MsgBox(0,$date,$date)
EndIf
    ;ExitLoop
WEnd
    EndFunc







 
Copyright © Selenium does matter