Отправляет email-рассылки с помощью сервиса Sendsay
  Все выпуски  

Подскажите как кликнуть на капчу



Software-Testing.Ru - портал тестировщиков  

Новые темы форума тестировщиков


Подскажите как кликнуть на капчу
2018-07-04 10:17

Добрый день уважаемые тестировщики, прощу совета т.к только начал заниматься автоматизированием.

Есть форма, я скинул скрин.Мне нужно нажать на капчу. Мне просто нужно ее нажать не проходя.

Я использую webDriver.findElement(By.cssSelector("div.recaptcha-checkbox-checkmark")).click()

 

Так же пробывал по xpath, но возможно я чего то не понимаю.

В общем помогите)

Спасибо.



Где прочитать про использование Apache HTTPComponents для для тестиров
2018-07-04 11:59

Где прочитать про использование Apache HTTPComponents для для тестирования API? Как создать с нуля программу для отправки и проверки запросов, какие модули, библиотеки надо подключать. Желательно на русском!!!!!!!!!!!!



Новый урок в тренинге "Автоматизатор мобильных приложений"
2018-07-04 11:59

Автоматизатор мобильных приложений – одна из наиболее высокооплачиваемых профессий на рынке. Учитывая дефицит кадров, многие автоматизаторы стоят дороже программистов. Поэтому любому хорошему тестировщику стоит освоить базовые навыки мобильной автоматизации.

 

В мае мы запустили новый тренинг "Автоматизатор мобильных приложений", который дает все необходимые навыки для самостоятельной настройки полного стека автоматизации с нуля.

 

Курс состоял из пяти тем. И сейчас в нем добавился новый урок, Continious Integration.

 

Читать публикацию полностью



Ручное тестирование api
2018-07-04 12:06

Начинающий тестировщик, попал на проект с микросервисами, как через api-docs протестировать 

 

вот документация, как ее правильно читать и понимать что можно делать ?

{
swagger: "2.0",
info: {
description: "Api Documentation",
version: "1.0",
title: "Api Documentation",
termsOfService: "urn:tos",
contact: { },
license: {
name: "Apache 2.0",
url: "http://www.apache.org/licenses/LICENSE-2.0"
}
},
host: "localhost:9301",
basePath: "/",
tags: [
{
name: "postcard-controller",
description: "Postcard Controller"
},
{
name: "menu-controller",
description: "Menu Controller"
},
{
name: "category-controller",
description: "Category Controller"
},
{
name: "basic-error-controller",
description: "Basic Error Controller"
}
],
paths: {
/: {
get: {
tags: [
"postcard-controller"
],
summary: "getPostcards",
operationId: "getPostcardsUsingGET",
consumes: [
"application/json"
],
produces: [
"application/json"
],
parameters: [
{
in: "body",
name: "limit",
description: "limit",
required: false,
schema: {
type: "string"
}
},
{
in: "body",
name: "page",
description: "page",
required: false,
schema: {
type: "string"
}
},
{
in: "body",
name: "keyword",
description: "keyword",
required: false,
schema: {
type: "string"
}
},
{
in: "body",
name: "active",
description: "active",
required: false,
schema: {
type: "string"
}
}
],
responses: {
200: {
description: "OK",
schema: {
$ref: "#/definitions/ResponseDTO"
}
},
401: {
description: "Unauthorized"
},
403: {
description: "Forbidden"
},
404: {
description: "Not Found"
}
}
}
},
/categories: {
get: {
tags: [
"category-controller"
],
summary: "getCategories",
operationId: "getCategoriesUsingGET",
consumes: [
"application/json"
],
produces: [
"application/json"
],
parameters: [
{
in: "body",
name: "limit",
description: "limit",
required: false,
schema: {
type: "string"
}
},
{
in: "body",
name: "page",
description: "page",
required: false,
schema: {
type: "string"
}
},
{
in: "body",
name: "keyword",
description: "keyword",
required: false,
schema: {
type: "string"
}
},
{
in: "body",
name: "active",
description: "active",
required: false,
schema: {
type: "string"
}
},
{
in: "body",
name: "type",
description: "type",
required: false,
schema: {
type: "string"
}
}
],
responses: {
200: {
description: "OK",
schema: {
$ref: "#/definitions/ResponseDTO"
}
},
401: {
description: "Unauthorized"
},
403: {
description: "Forbidden"
},
404: {
description: "Not Found"
}
}
}
},
/categories/{categoryId}/postcards: {
get: {
tags: [
"postcard-controller"
],
summary: "getPostcardsByCategory",
operationId: "getPostcardsByCategoryUsingGET",
consumes: [
"application/json"
],
produces: [
"application/json"
],
parameters: [
{
name: "categoryId",
in: "path",
description: "categoryId",
required: true,
type: "string"
},
{
in: "body",
name: "limit",
description: "limit",
required: false,
schema: {
type: "string"
}
},
{
in: "body",
name: "page",
description: "page",
required: false,
schema: {
type: "string"
}
},
{
in: "body",
name: "keyword",
description: "keyword",
required: false,
schema: {
type: "string"
}
},
{
in: "body",
name: "active",
description: "active",
required: false,
schema: {
type: "string"
}
}
],
responses: {
200: {
description: "OK",
schema: {
$ref: "#/definitions/ResponseDTO"
}
},
401: {
description: "Unauthorized"
},
403: {
description: "Forbidden"
},
404: {
description: "Not Found"
}
}
}
},
/categories/{categoryId}/postcards/{id}: {
get: {
tags: [
"postcard-controller"
],
summary: "getPostcard",
operationId: "getPostcardUsingGET",
consumes: [
"application/json"
],
produces: [
"application/json"
],
parameters: [
{
name: "categoryId",
in: "path",
description: "categoryId",
required: true,
type: "string"
},
{
name: "id",
in: "path",
description: "id",
required: true,
type: "string"
}
],
responses: {
200: {
description: "OK",
schema: {
$ref: "#/definitions/ResponseDTO"
}
},
401: {
description: "Unauthorized"
},
403: {
description: "Forbidden"
},
404: {
description: "Not Found"
}
}
}
},
/categories/{categoryId}/postcards/{postcardId}/similar: {
get: {
tags: [
"postcard-controller"
],
summary: "getSimilarPostcards",
operationId: "getSimilarPostcardsUsingGET",
consumes: [
"application/json"
],
produces: [
"application/json"
],
parameters: [
{
name: "categoryId",
in: "path",
description: "categoryId",
required: true,
type: "string"
},
{
name: "postcardId",
in: "path",
description: "postcardId",
required: true,
type: "string"
}
],
responses: {
200: {
description: "OK",
schema: {
$ref: "#/definitions/ResponseDTO"
}
},
401: {
description: "Unauthorized"
},
403: {
description: "Forbidden"
},
404: {
description: "Not Found"
}
}
}
},
/error: {
get: {
tags: [
"basic-error-controller"
],
summary: "errorHtml",
operationId: "errorHtmlUsingGET",
consumes: [
"application/json"
],
produces: [
"text/html"
],
responses: {
200: {
description: "OK",
schema: {
$ref: "#/definitions/ModelAndView"
}
},
401: {
description: "Unauthorized"
},
403: {
description: "Forbidden"
},
404: {
description: "Not Found"
}
}
},
head: {
tags: [
"basic-error-controller"
],
summary: "errorHtml",
operationId: "errorHtmlUsingHEAD",
consumes: [
"application/json"
],
produces: [
"text/html"
],
responses: {
200: {
description: "OK",
schema: {
$ref: "#/definitions/ModelAndView"
}
},
204: {
description: "No Content"
},
401: {
description: "Unauthorized"
},
403: {
description: "Forbidden"
}
}
},
post: {
tags: [
"basic-error-controller"
],
summary: "errorHtml",
operationId: "errorHtmlUsingPOST",
consumes: [
"application/json"
],
produces: [
"text/html"
],
responses: {
200: {
description: "OK",
schema: {
$ref: "#/definitions/ModelAndView"
}
},
201: {
description: "Created"
},
401: {
description: "Unauthorized"
},
403: {
description: "Forbidden"
},
404: {
description: "Not Found"
}
}
},
put: {
tags: [
"basic-error-controller"
],
summary: "errorHtml",
operationId: "errorHtmlUsingPUT",
consumes: [
"application/json"
],
produces: [
"text/html"
],
responses: {
200: {
description: "OK",
schema: {
$ref: "#/definitions/ModelAndView"
}
},
201: {
description: "Created"
},
401: {
description: "Unauthorized"
},
403: {
description: "Forbidden"
},
404: {
description: "Not Found"
}
}
},
delete: {
tags: [
"basic-error-controller"
],
summary: "errorHtml",
operationId: "errorHtmlUsingDELETE",
consumes: [
"application/json"
],
produces: [
"text/html"
],
responses: {
200: {
description: "OK",
schema: {
$ref: "#/definitions/ModelAndView"
}
},
204: {
description: "No Content"
},
401: {
description: "Unauthorized"
},
403: {
description: "Forbidden"
}
}
},
options: {
tags: [
"basic-error-controller"
],
summary: "errorHtml",
operationId: "errorHtmlUsingOPTIONS",
consumes: [
"application/json"
],
produces: [
"text/html"
],
responses: {
200: {
description: "OK",
schema: {
$ref: "#/definitions/ModelAndView"
}
},
204: {
description: "No Content"
},
401: {
description: "Unauthorized"
},
403: {
description: "Forbidden"
}
}
},
patch: {
tags: [
"basic-error-controller"
],
summary: "errorHtml",
operationId: "errorHtmlUsingPATCH",
consumes: [
"application/json"
],
produces: [
"text/html"
],
responses: {
200: {
description: "OK",
schema: {
$ref: "#/definitions/ModelAndView"
}
},
204: {
description: "No Content"
},
401: {
description: "Unauthorized"
},
403: {
description: "Forbidden"
}
}
}
},
/get-by: {
get: {
tags: [
"postcard-controller"
],
summary: "getPostcardsByFullSlug",
operationId: "getPostcardsByFullSlugUsingGET",
consumes: [
"application/json"
],
produces: [
"application/json"
],
parameters: [
{
in: "body",
name: "fullSlug",
description: "fullSlug",
required: false,
schema: {
type: "string"
}
},
{
in: "body",
name: "limit",
description: "limit",
required: false,
schema: {
type: "string"
}
},
{
in: "body",
name: "page",
description: "page",
required: false,
schema: {
type: "string"
}
},
{
in: "body",
name: "keyword",
description: "keyword",
required: false,
schema: {
type: "string"
}
},
{
in: "body",
name: "active",
description: "active",
required: false,
schema: {
type: "string"
}
}
],
responses: {
200: {
description: "OK",
schema: {
$ref: "#/definitions/ResponseDTO"
}
},
401: {
description: "Unauthorized"
},
403: {
description: "Forbidden"
},
404: {
description: "Not Found"
}
}
}
},
/menus/{menuType}/categories: {
get: {
tags: [
"menu-controller"
],
summary: "getMenuCategories",
operationId: "getMenuCategoriesUsingGET",
consumes: [
"application/json"
],
produces: [
"*/*"
],
parameters: [
{
name: "menuType",
in: "path",
description: "menuType",
required: true,
type: "string"
}
],
responses: {
200: {
description: "OK",
schema: {
$ref: "#/definitions/ResponseDTO"
}
},
401: {
description: "Unauthorized"
},
403: {
description: "Forbidden"
},
404: {
description: "Not Found"
}
}
}
},
/postcard/click-rate/log/click: {
post: {
tags: [
"postcard-controller"
],
summary: "logSimilarPostcardClick",
operationId: "logSimilarPostcardClickUsingPOST",
consumes: [
"application/json"
],
produces: [
"application/json"
],
parameters: [
{
in: "body",
name: "dto",
description: "dto",
required: true,
schema: {
$ref: "#/definitions/LogSimilarPostcardClickReqDTO"
}
}
],
responses: {
200: {
description: "OK",
schema: {
$ref: "#/definitions/ResponseDTO"
}
},
201: {
description: "Created"
},
401: {
description: "Unauthorized"
},
403: {
description: "Forbidden"
},
404: {
description: "Not Found"
}
}
}
},
/postcard/click-rate/log/view: {
post: {
tags: [
"postcard-controller"
],
summary: "logSimilarPostcardsView",
operationId: "logSimilarPostcardsViewUsingPOST",
consumes: [
"application/json"
],
produces: [
"application/json"
],
parameters: [
{
in: "body",
name: "dto",
description: "dto",
required: true,
schema: {
$ref: "#/definitions/LogSimilarPostcardsViewReqDTO"
}
}
],
responses: {
200: {
description: "OK",
schema: {
$ref: "#/definitions/ResponseDTO"
}
},
201: {
description: "Created"
},
401: {
description: "Unauthorized"
},
403: {
description: "Forbidden"
},
404: {
description: "Not Found"
}
}
}
}
},
definitions: {
LogSimilarPostcardClickReqDTO: {
type: "object",
properties: {
postcardId: {
type: "integer",
format: "int32"
}
}
},
ResponseDTO: {
type: "object",
properties: {
data: {
type: "object"
},
errors: {
type: "array",
items: {
$ref: "#/definitions/ErrorDTO"
}
},
message: {
type: "string"
},
status: {
type: "string"
}
}
},
ErrorDTO: {
type: "object",
properties: {
code: {
type: "integer",
format: "int32"
},
field: {
type: "string"
},
message: {
type: "string"
},
uri: {
type: "string"
}
}
},
ModelAndView: {
type: "object",
properties: {
empty: {
type: "boolean"
},
model: {
type: "object"
},
modelMap: {
type: "object",
additionalProperties: {
type: "object"
}
},
reference: {
type: "boolean"
},
status: {
type: "string",
enum: [
"100",
"101",
"102",
"103",
"200",
"201",
"202",
"203",
"204",
"205",
"206",
"207",
"208",
"226",
"300",
"301",
"302",
"302",
"303",
"304",
"305",
"307",
"308",
"400",
"401",
"402",
"403",
"404",
"405",
"406",
"407",
"408",
"409",
"410",
"411",
"412",
"413",
"413",
"414",
"414",
"415",
"416",
"417",
"418",
"419",
"420",
"421",
"422",
"423",
"424",
"426",
"428",
"429",
"431",
"451",
"500",
"501",
"502",
"503",
"504",
"505",
"506",
"507",
"508",
"509",
"510",
"511"
]
},
view: {
$ref: "#/definitions/View"
},
viewName: {
type: "string"
}
}
},
View: {
type: "object",
properties: {
contentType: {
type: "string"
}
}
},
LogSimilarPostcardsViewReqDTO: {
type: "object",
properties: {
postcardIds: {
type: "array",
items: {
type: "integer",
format: "int32"
}
}
}
}
}
}


© 2010 | Software-Testing.Ru


В избранное