Protractor e2e testing Intro | Step by step setup to run tests using typescript

preview_player
Показать описание
#qavbox_protractor_ts

This video will explain -
Why to use protractor e2e test
Protractor architecture
What is typescript and how to run typescript
An easy and effective way of installing protractor and typescript
Run a protractor test using typescript


Subscribe, and share if you get benefited from this tutorial...
Рекомендации по теме
Комментарии
Автор

Thank you. By far the best video I have come across! Although Typescript is new to me, I stumbled a bit but determination and a well explained tutorial, I got 2 pages automated in a few hours. Thanks again.

kuchyc
Автор

well explained..Thanks a lot for sharing the video

mohapatradharitree
Автор

It is very Good explanation, Thanks a lot.


Could you please create one Video related to CUCUMBER with Protractor from Scratch..


From Folder structure.

imtiazshaik
Автор

I see this error. Did I missed something? Property 'toContain' does not exist on type 'void'.ts(2339)

waranuchpansuwan
Автор

Thanks, very nice video, Could you please start series for Cypress

ChiragPatel-lkvl
Автор

Can u do video on canvas testing?
I have a use case where I need to draw a line on image and check if line is drawn

kirankumar
Автор

What is the difference between the dependencies and devDependencies? Could you please explain!

nekkantisandeepkumar
Автор

I am getting "E/configParser - Error message: configuration file outputjs/conf.js did not export a config object" error. Tried taking few suggested helps from Stackoverflow but no luck, can you please help.

PankajKumar-sudq
Автор

Hello,
Thanks for this useful video.I am getting "Invalid or corrupt jarfile" while starting webdriver.Please help to overcome this issue
Thanks

vermaishaan
Автор

isnt it much simple to use with js files only, the setup comes readily available on installing protractor, whats advantage of using all this config for Typescript if it gets compiled to js again

pratikkkothari
Автор

To configure tsconf.js file is not existing after clicking ---int

anilkumarm
Автор

Hi... When I'm running the config.js.. I'm getting protractor_1.by.xpath is not a function.. Can some one help me on this.

sailuvsl
Автор

Getting this error "#!/usr/bin/env node
require('../lib/tsc.js')
"


while running this code in terminal --init"


How to resolve this issue ?

saravananravikumar
Автор

Hi, when I run calculator.js test suite after referring your steps it runs successfully but at the console i get No Specs Found", can you please help with this?

manasranjan
Автор

Thanks for the video, very helpful. I have been practicing on the side as i watch..having issues creating the tsconfig file. Package.json is exactly similar to yours


PS --init
Program 'tsc' failed to run: No application is associated with the specified file for this operationAt line:1 char:1
+ --init
+
At line:1 char:1
+ --init
+
+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException
+ FullyQualifiedErrorId : NativeCommandFailed

abhedpatil
Автор

hi,
I am getting this error when running npm test TypeError: Target browser must be a string, but is <undefined>; did you forget to call forBrowser()?
whatever you showed in this video, i followed the same. Could you please guide..i stuck in running the calculator test case?

anitashaw
Автор

Hello,
at (33.03) i "write SampleTS.ts"
Instead of a javascript file beeing created windows tries to open a unknown file. Cannot open :TSC files.

Do you know why this is or workaround? I would love to be able to continue this tutorial.. :/

ErikAkerman
Автор

I am getting below error while running >> npm test
---- 'node_modules' is not recognized as an internal or external command,
operable program or batch file.


If I remove the node_modules from script tag of package.json then below error shows after running >> npm test
---- Error: Error: more than one config file specified
at
at
at Array.forEach (<anonymous>)
at parseArgs
at Object.Argv.self.parse
at Object.<anonymous>
at Module._compile
at Object.Module._extensions..js
at Module.load
at tryModuleLoad
npm ERR! Test failed. See above for more details.

aritrashit
Автор

Hi while running tsc sampletest.ts I am receiving the following error

139 setEnvironment(env: Map<string, string> | {[name: string]: string} | null): this;

nimmyranjeeth
Автор

I try to use the following command just like the video:
it("add 2 numbers", function(){





})

but get the following error:
Property 'sendKeys' does not exist on type 'ProtractorLocator'.ts(2339)

Does anybody know? Feels typical that each time you try to start learning a new programming topic you always get stuck at the setup phase. :/

ErikAkerman